|
Deresen wrote: What do you mean with multiple connections?
Deresen wrote: That there are 2 applications running which will make connections to one (the same) database?
I've never tried that.
That one
|
|
|
|
|
Lol, I guess it won't be possible. In order to do that, you have to connect twice to the database at the same time, if you manipulate some data at that point, the other connection won't be aware of that. But I guess that's with every database the same.
It works exactly the same as when you work with a server like sql express or something. But in stead of storing it via the sql server, you just store it directly (via a dll) into a file.
|
|
|
|
|
No, you need at least Sql Server Express, you can install it on your machine (some Visual Studio versions have it included) or on a development server.
There are database engines that don't require a server runtime installed, such as SqlServerCompact, but keep in mind that they are meant for local client databases, not for server-side database that require multiple concurrent connection from different clients.
|
|
|
|
|
yes,i have installed SQL server management studio express ,but i don't know how to create a database.
|
|
|
|
|
IT depends what database you want to install - you need to have some program to run it. plus this is a c# forum and not a database forum. Try there for better answers!
|
|
|
|
|
I have used several code for email validation like
{string pattern=@"^[a-z][a-z|0-9|]*([_][a-z|0-9]+)*([.][a-z|" +
@"0-9]+([_][a-z|0-9]+)*)?@[a-z][a-z|0-9|]*\.([a-z]" +
@"[a-z|0-9]*(\.[a-z][a-z|0-9]*)?)$";
System.Text.RegularExpressions.Match match =
Regex.Match(txtEmail.Text.Trim(), pattern, RegexOptions.IgnoreCase);
if(match.Success)
MessageBox.Show("Success");
else
MessageBox.Show("Fail");
}
// But it is not working .It gives a run time error like argument exception.Please help me out ASAP.
Thanks & Regards
Sayantan Basu.
|
|
|
|
|
string pattern = "^[a-z][a-z|0-9|]*([_][a-z|0-9]+)*([.][a-z|" +
"0-9]+([_][a-z|0-9]+)*)?@[a-z][a-z|0-9|]*\.([a-z]" +
"[a-z|0-9]*(\.[a-z][a-z|0-9]*)?)$";
This?
I are troll
|
|
|
|
|
I have written following code but It is not displayed on the form
pictureBox1 = new System.Windows.Forms.PictureBox();
pictureBox1.Location = new Point(Wnd[18].Left + 2, Wnd[18].Top + 2);
pictureBox1.Name = "pictureBox1";
pictureBox1.Size = new System.Drawing.Size(80, 40);
pictureBox1.Image = new System.Drawing.Bitmap("c:\\bitmap1.bmp");
pictureBox1.Show();
pictureBox1.BringToFront();
what to do ?
thanks
|
|
|
|
|
you have to add the control to the form
Form1.controls.add(picturebox1);
|
|
|
|
|
Have you forgot formObject.Controls.Add(pictureBox1) ?
|
|
|
|
|
Hi all,
The garbage collector runs in specific intervals(hope i am correct), and during this it collects all variable and dispose them when they becomes out of scope or not referred any more.
a) In a particular Method() if i am creating many variables, then is it possible to dispose them all before exiting that method ?
b)Suppose i have a method and inside this many methods, this MethodX execute till the last G() got executed and then it returns control to calling one.
MethodX()
{
A();
B();
.
.
.
G();
}
But somehow its slowing the execution, Is it possible that all methods executed independently/simultaneously/parallely?
regards,
|
|
|
|
|
Hum Dum wrote: The garbage collector runs in specific intervals
It runs whenever cleanup is required.
Hum Dum wrote: In a particular Method() if i am creating many variables, then is it possible to dispose them all before exiting that method ?
If your variables are not referred and GC ran, it will get *collected*.
Hum Dum wrote: But somehow its slowing the execution, Is it possible that all methods executed independently/simultaneously/parallely?
Are you asking how to execute these methods in parallel? If yes, you need separate threads to execute each method. I am not sure how this is related to your actual GC question.
|
|
|
|
|
A manuall call to GC.Collect is not recommended because it will do a full memmory compaction after the the collection process.. if you are using any heavy objects...Probably you can set is as null after use.. GC will get triggered only when the memmory pressure is more for a particular allocated heap. or when the allocated threashold limit is reached.
You can used threading. But only after a good analysis upon your method structure ( that whether it is taking any input from the previus one) and requirement.. Remember Threading is there to use the CPU Idle time.it will take more time if it does't have any.
|
|
|
|
|
I am doing a windows mobile application(birthday reminder) using .net C#. I am unable to retrieve the birthday info from the pocket outlook. any one got any idea??
Thanks in advance for your help...!
|
|
|
|
|
Mobile application, sounds like you should be here[^]">
|
|
|
|
|
i didnt get you
|
|
|
|
|
|
Thanks so much Deresen, i had never known there is an exclusive mobile application developers forum here..!
|
|
|
|
|
No problem, I hope they will solve your problem, because I really don't know how to solve it
|
|
|
|
|
How to remove title bar of form .
thanks
|
|
|
|
|
System.Windows.Forms.FormBorderStyle.None
जय हिंद
|
|
|
|
|
|
Yes, I'll make that for you. No problem.
I'll give you my paypal account first, you send me money (for instance 1.000 dollar) and you've got your application.
|
|
|
|
|
Deresen wrote: 1.000 dollar
Just one? Will you do my work as well?
जय हिंद
|
|
|
|
|
Well 1.000 is one thousand in The Netherlands
|
|
|
|