Top ".net-2.0" questions

The 2.0 version of the .NET Framework.

Invalid postback or callback argument. Event validation is enabled using '<pages enableEventValidation="true"/>'

I am getting the following error when I post back a page from the client-side. I have JavaScript code that …

.net asp.net .net-2.0 postback argumentexception
How to open a new form from another form

I have form which is opened using ShowDialog Method. In this form i have a Button called More. If we …

c# .net winforms .net-2.0
XmlSerializer - There was an error reflecting type

Using C# .NET 2.0, I have a composite data class that does have the [Serializable] attribute on it. I am creating …

c# .net xml serialization .net-2.0
Compression/Decompression string with C#

I am newbie in .net. I am doing compression and decompression string in C#. There is a XML and I …

c# string .net-2.0 compression
How to detect Windows 64-bit platform with .NET?

In a .NET 2.0 C# application I use the following code to detect the operating system platform: string os_platform = System.…

c# windows 64-bit .net-2.0 platform-detection
How do I get and set Environment variables in C#?

How can I get Environnment variables and if something is missing, set the value?

c# .net .net-2.0 environment-variables
How should you diagnose the error SEHException - External component has thrown an exception

Whenever a user reports an error such as System.Runtime.InteropServices.SEHException - External component has thrown an exception? is …

c# winforms .net-2.0 error-logging
How to create a simple proxy in C#?

I have downloaded Privoxy few weeks ago and for the fun I was curious to know how a simple version …

c# .net .net-2.0 proxy
Using DateTime in a SqlParameter for Stored Procedure, format error

I'm trying to call a stored procedure (on a SQL 2005 server) from C#, .NET 2.0 using DateTime as a value to …

c# sql-server datetime stored-procedures .net-2.0
Sorting Directory.GetFiles()

System.IO.Directory.GetFiles() returns a string[]. What is the default sort order for the returned values? I'm assuming by …

.net .net-2.0