| Thread | Last Post | Replies |
|
| C# - connection to a remote SQL server | 31 Aug 2006 23:38 GMT | 1 |
I have big problem. I am writing a small win application. It will work on remote MS SQL database (2005). Firstly, I need to log on to the server. The server supports remote connections and sql and windows authentication. I declared connection string as follows:
|
| DataGridView DataGridViewCheckBoxCell throws NullReferenceException | 31 Aug 2006 23:14 GMT | 2 |
I have a datagridview control on a form with a few of the columns being DataGridViewCheckBox. Whenever I click on the checkbox to create a new record I get a NullReference Exception thrown even though I check for NULL using System.Convert.IsDbNull function.
|
| Can't Seem To Dynamically Generate Labels | 31 Aug 2006 22:19 GMT | 2 |
I'm trying to dynamically generate some labels for a form, and I can't seem to get it to work. The code is as follows. The first label is generated, but subsequent labels are not. Is there a better technique for this
|
| Using VS2005 dll's in 2003 projects | 31 Aug 2006 22:08 GMT | 4 |
I'm converting our code base into VS2005 and we have alot of Managed c++. Problem is, is that for some reason some of our code will compile, but doesn't run correctly in VS2005. So, as we can continue moving forward we decided to keep the managed c++ stuff in VS2003 and
|
| NewLine, ListSeparator,... | 31 Aug 2006 21:59 GMT | 2 |
Does anybody know why the "NewLine" object is in "Environment" and not in "System.Globalization.CultureInfo.CurrentCulture.TextInfo" like the "ListSeparator" ??? Steph.
|
| CreateFile Sector/Block level equivalent | 31 Aug 2006 21:41 GMT | 3 |
What is the equivalent in the .NET Framework for accessing a device at the block/sector level such as one would when using CreateFile on a device like "\\.\D:"? Attempting to create a BinaryReader on a FileStream opened (read-only) on "D:"
|
| Dataset State | 31 Aug 2006 21:21 GMT | 7 |
I want to prevent the user from closing the application if they are in the middle of entering data. Is there a way to detect this?
|
| file of constants? (vs2005/c#) | 31 Aug 2006 21:13 GMT | 4 |
Good day, bare with me while I probably ask a very novice question... I have multiple projects that use the same constants. I want to create a common file they can share. Is this the best way to do it:
|
| encryption in .NET 2.0 | 31 Aug 2006 20:42 GMT | 5 |
I need to encrypt and decrypt a string in .NET Framwork 2.0. What is the easiest way to do it? I know that there are many different ways to use encryption in .NET, some more complex than others. All I need is to hide from an end-user
|
| Possible to deserialize xml with unknown-ahead-of-time number of a given element type? | 31 Aug 2006 20:33 GMT | 3 |
I've got a dtd for my xml file according to which, for example, 0 or more <component> elements are permitted. I'd like to take any xml file conforming to this dtd, and deserialize it into a programmatic object. My experience with the deserialization method is limited to classes
|
| What does the _ indicate when used in front of a variable name? | 31 Aug 2006 20:28 GMT | 7 |
At one point, I knew the answer to this question. Unfortunatley it has slipped my mind [but I still remember how difficult it was to search for the answer a couple of years ago] i.e. Difference between x and _x ?
|
| ABOUT DATASET SAMPLE FIGURE | 31 Aug 2006 20:15 GMT | 1 |
can anyone share an example dataset figure or code??? i'm still neophyte on c# and xml programming. can anyone share there knowledge with regards to using dataset...converting it to an xml file and vice versa...
|
| Can someone please describe why impersonation requires the impersonator to be local admin? | 31 Aug 2006 19:49 GMT | 4 |
Can someone please describe why impersonation requires the impersonator to be local admin?
|
| Xpath in c# | 31 Aug 2006 18:56 GMT | 9 |
I have an xml and I am able to use xpath to identify each node that statisfy the selection criteria. I got the node list. I would like to know is it possible to do the following for the following XML <Files>
|
| Using Process.Start with command line parameters | 31 Aug 2006 18:52 GMT | 3 |
I have an app that calls an eternal EXE using process.start. My issue is I have a couple command line parameters that need to be put in, so that it would read: Process p = new Process();
|