Aspxgridview rowupdating newvalues


20-Aug-2017 17:58

I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base. Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base. For example, I edit the 2nd row (e.rowindex = 1), but it get the 1st row (e.rowindex=0) value. Data Row Then 'Monday Dim Col1_SL = CType(Gridview1. Find Control("cb1_SL"), Check Box) Try to search the control in the row cells like row. Find Control("cb1_SL") Thanks, I had set the enableviewstate to true now. But when running the Row Updating event, it get the upper row data. Find Control("cb1_SL"), Check Box) Dim Col1_VL = CType(Gridview1.

Without seeing your markup, it's hard for me to tell if you've created .

How do I grab the new values from these textboxes and proceed further?

Net Programming (Web & Windows) - Database (SQL Server, My SQL, Oracle 9i, Oracle 10g) - Java Script, VB, XML, Ajax - Reports (Crystal & Jasper) - Infragistics, Devexpress - SAP BO, WEBI, Universe designer I have tried this with versions 9.2.3 and 9.3.2.

Last Change: More Information (@jwiscarson) I’m sorry, I was in hurry. In that project, the users could select 2 categories, enter a search string and the result will show in a Grid View. Here is my problem, if the "admin user" click on edit, change the value of the cell and execute the update, the value would not changed in the Hoo boy.

You didn't ask this in your question, but you've written some smelly code here.Find Control("cb1_SL"), Check Box) .................