Asp net grid rowupdating

by  |  30-Jun-2016 21:39

I am using Item Template & Edit Template for editing the gridview. I click EDIT button then I can check/uncheck those checkbox and amend the textbox value. Joe The following is the VB code: Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As Grid View Update Event Args) 'Update the values.

asp net grid rowupdating-3asp net grid rowupdating-14asp net grid rowupdating-75

Edit Index = -1 'Bind data to the Grid View control.

The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

NET View_Insert_Edit_Update_If using Sql Data Source about Data Access then you can refer here Hope that helps!

Dear All, In Row Updating event of a Grid View I am trying to update the database picking the values of bound text Boxes in the Edit Item Templates. I confirmed update works by giving some other text vlaues instead of those retrieved from TB1, TB2, and TB3. I checked your code, it is working very good; below example of the code I used here...

Configuration; public partial class _Default1 : System. Actually last night I spent many hours on this issue .

Community Discussion