www superspeeddating com - Rowupdating findcontrol textbox


I connect to my database and gave it a SELECT query and it works fine. Grid View Edit Event Args) Handles GV_Student Record. I have a gridview which will populate at Page Load.

rowupdating findcontrol textbox-72

I have loads of codes here, because ive tried every way possible. Public Sub GV_Student Record_Row Editing(By Val sender As Object, By Val e As System.

Then i want the user to be able to edit any row in the gridview, so i did this: Now I know i hav to use Row Editing event, Row Updating Event, Row Canceling Edit event to make everything work. I hoping someone could point me in the right direction on how to use these 3 events, what syntax/coding should i use to handle these 3 events.

Markup for my gridview: I have tried this with a slight alteration which is two linkbuttons in each template instead of one.

Edit and Delete in the Item Template and Update and Cancel in the Edit Item Template.

Save all or press "Ctrl S" and hit "F5" to run the page, the page will look as in the following image: Click on "Edit the Grid View", it will display Textboxes in each cell as in the following image: Edit the value(s) here and click on the Update link, it will update all the data or to remove it click on the "Delete" link above the image shown.