Tuesday, March 29, 2011

GridView Processing in ASP .NET

Look at DocView for handling gridview data in ASP .Net. The DataItem is not available on postback per an ASPNet Forum post. Either use the cell.text data or set up the datakeys items of the gridview.

Monday, March 7, 2011

WIndows 7 - ODBC32 Drivers Visual Studio Projects

To use the old ODBC 32 bit drivers in .net programs, you must change the CPU to x86 in the project you want to use these drivers.
Right click on the project.
Select Compile
At the bottom of the page, select the "Advanced Compile Options"
Select the Target CPU and select the x86 option

When you run the resulting code, the program will use the 32 bit drivers.