Gridview rowupdating newvalues oldvalues

07 Dec

//// 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.

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

All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.

Check out what I’m trying to do, maybe you can help?

1/ detailsview1 are working well at the time inserting data.

Keys("Nama_PT") & "'" sqldatasource1.update() end sub After updating the record, i found my data has not changed, still old values.