|
Malcolm Smart wrote: You could switch your machine off.
To be safe, he should also remove the plug and get the dog to bury it - and then, to be safe, bury him as well.
|
|
|
|
|
Pete O`Hanlon wrote: bury him as well
Have you considered about any haunted posts from his spirit then?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
You just don't get it do you?
|
|
|
|
|
I have to say that I'm really impressed at the level of anger you manage to invoke in a simple post. I'm so pleased that there are others out there.
|
|
|
|
|
Hi,
Can any one please let me know the maximum number of connections a connection pool can create and hold simultaneously?
Thanks.
Rohan
|
|
|
|
|
Check this out:
http://www.15seconds.com/issue/040830.htm[^]
Quoting from it ...
Max Pool Size - specifies the maximum size of your connection pool. Default is 100. Most Web sites do not use more than 40 connections under the heaviest load but it depends on how long your database operations take to complete.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hi,
after fetching the data into the datagridview, how to display the value of a particular field of a selected row, in a textbox. It is a windows application not an asp . It contains datagridview, not gridview. It is C#.
Nitin Raj Bidkikar
|
|
|
|
|
|
the website says "Content not found".
Nitin Raj Bidkikar
|
|
|
|
|
I am able to open this..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi,
iam doing windows application(n-tier)..so i design usercontrol
forms and attach to mainform.
here my problem is i have to print usercontrol form
which consists of textbox,lables,gridview etc..
is there any difference between form and usercontrol form printing..
i tried (codeprojectcode,and c#corner code)..but no use..
so please help me..
murali krishna
|
|
|
|
|
|
i used sandcastle helpfilebuilder to create help file
it created a help file but it gave an error :
[Missing namespace summary documentation for N:example2fordeft]
alok2171
|
|
|
|
|
|
alok2171 wrote: it created a help file but it gave an error :
[Missing namespace summary documentation for N:example2fordeft]
Have you considered creating the summary documentation for the namespace example2?
|
|
|
|
|
yes i hav created summary for d namespace...but still its showing the error message
alok2171
|
|
|
|
|
alok2171 wrote: yes i hav created summary for d namespace
Well, the error doesn't state anything about a namespace called "d". It talks about "example2fordeft"
|
|
|
|
|
i meant to say i have created the namespace.
and put summary tags to it also..still its showing errors
alok2171
|
|
|
|
|
i meant to say i have created the namespace.
and put summary tags to it also..still its howing errors
alok2171
|
|
|
|
|
Hello,
what is the best way on how to write a single purpose app with no processing output in C#?
For the sake of an example, let's say that your app's only task is to rename a file (given as the parameter) to "foo" and then exit.
If I code this as a console app, I'll get a console window that opens during the (however short) execution.
I can also code this as a windows app, but then I'd have to set the main form's .Visible property to false upon start. That doesn't look like the most professional way on how to accomplish this task, apart from the fact that referencing and loading System.Windows.Forms etc is very inefficient if I'm not going to use these libraries anyway.
Then again, if I code this as a windows service, this app can't be started from the command line.
Anyone have any thoughts?
Thanks,
Michal
|
|
|
|
|
michal.kreslik wrote: I can also code this as a windows app, but then I'd have to set the main form's .Visible property to false upon start.
Why would you create the form in the first place? All you need to do is rewrite the Program.Main method (in Program.cs) to not create or open the form.
|
|
|
|
|
Thanks, cool.
I removed the Form and all extra references from the project.
Then I'm wondering - what is causing the console app project to open a console window then?
Thanks,
Michal
|
|
|
|
|
Ok, I can see it now:
console app's output type in the .csproj file is:
<OutputType>Exe</OutputType>
while the windows app's output type is:
<OutputType>WinExe</OutputType>
The "Exe" output type forces the application to open a new console window, while the "WinExe" doesn't open any console window.
Thus, the best way on how to accomplish the above task is to create a console application and switch the output type to "Windows Application" in the project Properties > Application.
Thanks,
Michal
|
|
|
|
|
I did this more than once with Windows applications.
I wrote the useful code in the constructor of the form, but didn't show the form.
In Program.cs , instead of
Form.Show(new ManiForm());
I just wrote
new MainForm();
|
|
|
|
|
Hi,
I am using this code to change the colour of a cell in the gridview.
Now I would like to know how to change the colour of another cell in another column in the same row.
private void dgvSecurityPricing_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (dgvSecurityPricing.Columns[e.ColumnIndex].Name == "Bid_Source")
{
if (e.Value.ToString().Length > 0)
{
if (e.Value.ToString().IndexOf("-") > 0) //Price retrieved from History...
{
e.CellStyle.ForeColor = Color.LightGray;
e.CellStyle.Font = new Font(dgvSecurityPricing.DefaultCellStyle.Font, FontStyle.Bold);
//here, I would like to do the same colour alteration as above but for another cell in the same row in a different column.
}
}
}
}
Thanks
|
|
|
|