|
1SmartCoder is an object to simple mapping (O/R mapping) code generation tool that lets you map and generate well designed Asp.net business, data objects and web pages.
Map objects and embed SQL and business rules
Generate .NET components and DotNetNuke Module in C# with a clean design
Customizable code generator with powerful Template IDE
Extendable special business rules generation with Tag in mapped objects and their attributes.
Support Microsoft Visual Studio 2005 and DotNetNuke 4.x
Do round trip development without losing any of your code changes
Generate common Membership web application with Department, User, Group/Role, Resource/Permission managetment, with it you can focus on the business logic development without trouble permission management.
more: http://www.1smartengine.com
|
|
|
|
|
tz_soul wrote: Who has the code generator?
The (working) brain.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
The computer.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
tz_soul wrote: One Who has the code generator, ? Ccan generate C # code.
Code Quote of the day.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
Who has the code generator?
You do. For C#, it's CSC.exe. You could always build your apps using the CodeDOM, but it's easier with csc.exe.
|
|
|
|
|
Pete O'Hanlon wrote: You could always build your apps using the CodeDOM, but it's easier with csc.exe.
Cmon Pete, be a man.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
string[] observations =new string[] {"walk","shop","clean"};
startProbability = new double[] { 0.6, 0.4 };
transitionProbability = new double[,]{{0.7, 0.3},{0.4, 0.6}};
emissionProbability = new double[,] {{0.1,0.4,0.5},{0.6,0.3,0.1} };
problem = new int[] { 0, 1, 2 };
these are the assigned values.. how to get these values as an input from the user... kindly help me out
|
|
|
|
|
You'll have to do some kind of string parsing using a delimiter. For a one dimensional array, assuming that the values in the array will not contain spaces, you can split on the space character.
public T[] ConvertToArray<t>(string s)
{
string[] arr = s.Split(' ');
T[] retArr = new T[arr.Length];
return Array.ConvertAll<string,>(arr, str => (T)Convert.ChangeType(str, typeof(T)));
}
</t>
For 2D arrays, you'll have to have another delimiter to separate dimensions, split on that (recursively?) and call ConvertToArray on the resulting split arrays.
|
|
|
|
|
thanks a lot...
the quieter u become more u hear
|
|
|
|
|
I want to convert object to Array List but stuck how to do.
Actually I am doing this because I am passing argument of an array this array is contains some panels.
When I pass these panels to another form it copy the references of panels. Any thing changes in child form(in panels ) affect the father form panels.
Here is the code.
object obj = array.Clone();
Now the object become object array but there is no technique to convert this obj to object[].
If you have any suggestion to overcome my problem to not copy the references of the array(panels) .
You are most welcome if you give any suggestion.
|
|
|
|
|
Naveed khan nido wrote: but there is no technique to convert this obj to object[].
object[] obj = (object[])obj
|
|
|
|
|
Thanks for giving the technique to convert object to object array.
But after cloning I have facing the same problem. Can you help me regards this.
Thanks
|
|
|
|
|
Cloning the array won't help solve your problem - the array will get cloned, not the elements in the array. The panel objects will still be shared.
You can deep clone i.e. clone the panels themselves. What are you trying to do though?
|
|
|
|
|
yes you are right.
It is still coping the references.
The thing I am doing is that I have an array of panels and these panels have some Labels and Picture Boxes. Now I am going to create an another form and need a copy of these panels and the objects that panels contains.
In another form it will further changes(i,e Labels or Pic Boxes) that changes should not made to Parent Form.
So what should I do. Can you give me an example of deep clone. How should solve my problem.
thanks for reply.
|
|
|
|
|
You could write a function that will do the deep clone for you...
|
|
|
|
|
Just a thought.
You might be better off converting these panels into custom controls. That way you can create the second form by just dropping the custom control in.
Then create a class or struct with fields for the information from form 1, instantiate the class/struct with the data from form 1 and pass it to second form whre data gets inserted into custom control.
Henry Minute
If you open a can of worms, any viable solution *MUST* involve a larger can.
|
|
|
|
|
I would like to print the crystal report in the local printer instead of printing in default web server printer.
|
|
|
|
|
It's a setting. Ask your network-administrator
I are troll
|
|
|
|
|
I am doing one application in windows form in C# .net.
i have created two forms. but if i run the studio, its defaulting the first form. but i want my second form to open first. how to change that property?
waiting for your reply.
|
|
|
|
|
Hema Bairavan wrote: i have created two forms. but if i run the studio, its defaulting the first form. but i want my second form to open first. how to change that property?
Open Program.cs , check the following method is ther
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
The line which I have bold , check that line . In your code its is
something like
Application.Run(new Form2 ())
So change it accordingly
|
|
|
|
|
Hi Hema Bairavan,
You need to change in program.cs file
Application.Run(new Form2());
nJoy
Pavan Pareta
|
|
|
|
|
Thanks to pavan and abhijit,
its working fine
|
|
|
|
|
Hi ,
Please help me for this i am tring a lot to get out of it but did not find solution.
I am using .net 2005 asp.net. In my code i use update panel and modal popup.And though i have alerady set Trigger properly following error is comming.
Sys.WebForms.PageRequestManagerParserException: The message received from the server could not be parsed. Common causes for thies error are when response.write(),response filters ,Httpmodules,or server trace is enabled. Details:Error parsing near '<html><head><scrip'.
like this.And this error is comming only at my client side and only for the one employee not for any other.
I am not able to reproduce this error at my end so how can i fix this error?
Please help me for this.
|
|
|
|
|
Hello everyone,
Is there any open source .Net open source content management platform like Sharepoint?
thanks in advance,
George
|
|
|
|
|
This[^]. BTW, what your question has to do with C#?
|
|
|
|