| Thread | Last Post | Replies |
|
| DataGridView CheckBox Cell | 12 Nov 2007 16:12 GMT | 1 |
Using VS 2005. I have an app that has a DataGridView control. This control has two columns, the first column is a standard TextBox, and the second column is a CheckBox.
|
| Simple question about stack variable | 12 Nov 2007 15:52 GMT | 4 |
I have a method, in which I populate a local variable from a singleton method value like the following int age = SingletonAge.GetInstance().CurrentAge; then I use age in two places in the method. Out of cuiosity, which is
|
| dataGridView doesn't free Memory | 12 Nov 2007 15:26 GMT | 5 |
I have a method which populates a dataGridView: public void fillTest4DataGridView () { this.dataGridView1.Rows.Clear ();
|
| Custom configuration sections --- why might GetSection return null? | 12 Nov 2007 13:38 GMT | 1 |
I'm trying to have my application use a special config file which is shared across servers, and want to include a custom section (for URLs of report services associated with database instances). However, my section doesn't seem to be recognized (GetSection("ReportServerUrls")
|
| stored procedure and return value | 12 Nov 2007 13:25 GMT | 6 |
.NET 2.0 I have a stored procedure which calculates a value and return that value. I'm wondering if I should use ExecuteNonQuery, ExecuteScalar or ExecuteReader on this stored procedure. I want that return value from the
|
| window.open question | 12 Nov 2007 13:17 GMT | 3 |
I'm running the below script to open a popup window. Works great! I'd like to find out if there's a way to include Mouse Coordinates in the top and left parameters so that when my button is clicked, the popup opens in the same location.
|
| Using NLST to retrieve file names | 12 Nov 2007 13:06 GMT | 1 |
I know this is not necessarily a C# question but the code I am wrinting is C# and I wasn't sure whereelse to ask the question. I have taken some web code (from codeproject.com) that performs FTP commands and used this in C# code to retrieve a list of files in a
|
| MaskedTextBoxColumn properties cannot be set using visual editor | 12 Nov 2007 10:39 GMT | 1 |
In the sample presented by Microsoft for "DataGridView Custom Column" that represents a MaskedTextBoxColumn, it seems it has a problem in setting properties of maskTextBox using visual tools(Editing DataGridview's columns visually), that it stores null values after
|
| How to open a command prompt using c# coding? | 12 Nov 2007 10:05 GMT | 4 |
I know that we can open Visual studio command prompt from start menu. But i have been assigned a task in which i have to do that in coding. So that when i run the c# program, the visual studio command prompt should open. I have seen a syntax for opening the windows command prompt ...
|
| XmlSerializer and xs:boolean value serialization | 12 Nov 2007 09:34 GMT | 2 |
I am serializing a class containing boolean fields and noticed that values are serialized (written on the XML file) as "True" and "False" (capitalised first letter). However, when validating against a Schema, XMLSpy complains xs:boolean only defines a "true" and "false" as valid ...
|
| Turning XML into an object with properties | 12 Nov 2007 09:19 GMT | 7 |
Not sure what to use here. I have a fairly simply XML document and I'd like to "load" it into a related class so that I can access data using class properties, etc. I've been reading thing about "serialization", etc. but can't quite find the right article. Maybe I'm looking at ...
|
| Writing serial port does not work | 12 Nov 2007 09:18 GMT | 2 |
Currently I am writing a program which sends and receives messages through serial port to a device. I am using C# and Microsoft Visual studio 2005 for windows program. But my problem is when i try to write in serial port from my windows a Timeoutexception is thrown. I use
|
| VS.2003 and /win32res | 12 Nov 2007 08:26 GMT | 1 |
Hi, Folks! Is there a way to configure VS.2003 to add the parameter "/win32res" when it is compiling a project so that you can specify your own Win32 resource file? I know that VS.2005 has this setting under project
|
| Custom Thread Pool in c# | 12 Nov 2007 08:08 GMT | 3 |
I am working on an application (developed using c#2.0) which needs to do a big job and when you start the job in a single thread it takes long time to complete. So, we want to break the job and run in multiple threads. I heard about .Net Thread pool class but it has some ...
|
| Socket write behaviour is inconsistent? | 12 Nov 2007 07:37 GMT | 10 |
I have a client and server that enjoy the following simple dialogue: Client connects Client sends request Server sends response
|