Gridview rowupdating oldvalues null

I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base.

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer.

Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

I too have been searching for this and all the "answers" that I've seen are not the answers I think some of us are really looking for.

All the mentioned methods I've seen here are not bullet proof references to a database tables field name.

For example a Sql Data Source, which is automatically added to your Web Form if you drag-n-drop your way around Visual Studio 2005.

The problem is, I’d very much like to do so, if ASP. But I can’t set a Data Source property or anything on the Sql Data Source!!! I probably have to read the cells on the Grid View of the selected row, find the controls, get the values from those and insert those into my Data Set.//// Header column names int grid View Cell Count = your Grid View. string[] column Names = new string[grid View Cell Count]; for (int i = 0; i This is not the answer to the question. Count; // string array to hold grid view column names.Everything is working fine, but the Grid View is Updating the Database with the Value that is already there instead of the new one that is entered into the Edit Textbox.I've been staring at this for a whole day and can't figure anything out.First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.