Rowupdating e Hook up women fisting men

If we move our mouse on to the variables, which hold the cell values, we can see the old value instead of new updated value (Refer the debugging Screen Shot at the Top).

rowupdating e-87

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

event returns this output: event args: (command=System.

Find Control("txt Number"), Text Box) Dim expiry As Text Box = Direct Cast(row.

Row Updating Dim row As Grid View Row = Direct Cast(grv Sample. Row Index), Grid View Row) Dim passport Number As Text Box = Direct Cast(row.

The following code runs successfully with no errors, but I still don't get the new data from the grid, by adding a break point, and stepping forward, the data in the variables are the original data, not the updated data, what am I missing? Find Control("txt Expiry"), Text Box) Dim type As Text Box = Direct Cast(row.

Private Sub grv Sample_Row Updating(By Val sender As Object, By Val e As System. Find Control("txt Type"), Text Box) Dim name As Text Box = Direct Cast(row.

before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).

Every one can use it to compare the new value with old ones.

If you don't use one of the Data Source controls, you are required to handle the Row Updating event.

Comments are closed.