| Thread | Last Post | Replies |
|
| How to make delegates with variable number of arguments. | 02 Dec 2008 04:56 GMT | 5 |
Can one of the gurus tell me if it is possible (and how) to do it in c#? I have a method that processes web requests using XmlTextReader. There are many kinds of requests and a fair amount of code is repetitive
|
| initialize list collection | 02 Dec 2008 01:32 GMT | 6 |
If I have a list collection that I set up and use and then want to re-initialize it, can I just do a "new" again or do I need to get rid of it first. For example:
|
| Multiple App.config files with ClickOnce | 02 Dec 2008 01:07 GMT | 4 |
I have an application that I am encrypting the connection strings on the first run of the application. I am using clickonce to deploy the application, so this was a good solution as the application is immediately run and the config file is encrypted immediately. How ever, when ...
|
| Normalizing street addresses | 01 Dec 2008 23:06 GMT | 6 |
We are doing a project that needs to normalize addresses. Is there anything out there that does that already? For example, We need to look at addresses, such as:
|
| Convert string to a number | 01 Dec 2008 22:52 GMT | 5 |
How do I convert a string value 5.3 to a number for comparision in vs2003 e.g 5.3 >= 5.1 3.9 <= 5.3
|
| Best practice with Disposable objects | 01 Dec 2008 21:09 GMT | 5 |
If I have a class that instantiates IDisposable objects for the lifetime of my object, does that mean I always "have to" implement IDisposable as well to dispose them? (Assuming I have no other reason to be disposable myself.) If so, is there an easy way to know which objects ...
|
| Compiler confusion with nullable types | 01 Dec 2008 19:40 GMT | 4 |
I have the following class which gets this error when I compile it using C# 2.0: 'System.Nullable<System.DayOfWeek>' does not contain a definition for 'Monday'
|
| command parameters in one statement | 01 Dec 2008 19:07 GMT | 4 |
Is there a way to the following in one statement? parameter = new SqlParameter("@" + "SortOrder", SqlDbType.TinyInt); parameter.Value = Convert.ToInt32(tf.SectionNumber);
|
| Tutorials? | 01 Dec 2008 15:19 GMT | 4 |
Can anyone recommend a good online tutorial for someone trying to pick up C# for the first time? I'm coming from a VBA (Access, mostly) and VB6 background, so I don't even have basic CLR knowledge, so I'd be looking for pretty much a ground-up approach, but without the usual ...
|
| Deserialize XML to an Object. BU T you don’t know which object to use? | 01 Dec 2008 09:58 GMT | 6 |
I would like to be able to select the object used to Deserialize an XML string based on the XML itself. I need to do this because the XML is being read from a database and there are a number of different objects. The XML is being inserted into the
|
| Reading from a child process's standard error | 01 Dec 2008 09:50 GMT | 10 |
Is there any way to perform a non blocking read from a child process's standard error? I tried using the StandardError property of the System.Diagnostics.Process class without success. According to the documentation the StreamReader.Read(char[], int, int) function should not
|
| Marshal.Copy generates an "Attempted to read or write protected memory" error | 01 Dec 2008 09:47 GMT | 4 |
The Marshal.Copy statement in the following code block generates an "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." error. This happens when the bitmap.PixelFormat is set to Format4bppIndexed (I've set to this
|
| name of anonymos types | 01 Dec 2008 07:07 GMT | 8 |
Hello NG, is it possible, to localize the name of a anonymos type? In my application I am creating a list of anonymos typed sturcture like: var myObject = new
|
| Best Books to Learn C#? | 01 Dec 2008 05:17 GMT | 5 |
I would like to learn c++/c#.net. I'm comfortable with c, and have taught it when I was in grad school but that was a number of years ago. I've downloaded MS Visual C# 2008 Express.
|
| Is there a way to get sqlclr code to call MessageBox.Show() ? | 29 Nov 2008 22:07 GMT | 13 |
1) You can't add a reference to system.win.forms to a SQL Server Project 2) You can't add a referenceto a non-SQL Server Project to a SQL Server Project
|