To Upper " Table" End Sub Private Sub dgv_Ref Tables_Row Canceling Edit(By Val sender As Object, By Val e As System.

thank you :) event is fired the changes have not yet been committed back to the datasource.

Notice that the programing is not running the event Row Updated any help?

Add With Value("@pfirstname", str Last Name) If cn.

It's an event designed to give you an opportunity to validate the input and prevent the changes going forward if need be.

Grid View Command Event Args) Handles dgv_Ref Tables.

To Upper = "ADD" Then Dim txt_Disp Seq As Text Box = Direct Cast(dgv_Ref Tables. Find Control("_txt Disp Seq"), Text Box) Dim txt_Name As Text Box = Direct Cast(dgv_Ref Tables. Find Control("_txt Name"), Text Box) Dim Chk_Is Active As Check Box = Direct Cast(dgv_Ref Tables. Find Control("_chk Is Active"), Check Box) obj BORefered Table = BO.

If not I'll try the suggestion below =) I was doing databinding in my Page_Load event and when I clicked "Update" the Post Back was done, so was the Page_Load event fired.

Grid View was filled with the old values again, so in my Grid.

When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox. "When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox." So lets say there is "test" in the textbox originally and then I edit it to "asd" then click update.