Gridview rowupdating in asp net using c
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).
Text Dim str Close Time As String = Direct Cast(gv Business Hours. Any idea why i am getting the old values and not the new imput values ? Private Sub gv Business Hours_Row Updating(sender As Object, e As System.
A Grid View Update 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 update operation should be canceled.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
Spyke Ys Private Sub gv Business Hours_Row Updating(sender As Object, e As System.
Row Updating Dim str Open Time As String = Direct Cast(gv Business Hours.
I am sharing this because I see a lot of questions on the forums on how to get the value from the Grid View object, and I know how.