Rowupdating does not fire Richard lovell cam chat
Add(bfld Employee Code); Bound Field bfld Project Code = new Bound Field(); bfld Project Code.
Add(bfld Project Code); Bound Field bfld Process Code = new Bound Field(); bfld Process Code.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the edit operation, whenever this event occurs.
A Grid View Edit Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the edit operation should be canceled.
Yes, I did put the breakpoint at the Row Updating line (and not in the function).
You have to make sure that you aren't setting your Grid View's data when it is not postback.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.
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.A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.