Start Rowupdating textbox

Rowupdating textbox

Enabled = allow Admin Edit End If Dim price As Text Box = CType(e. Read Only = Not allow Admin Edit End If Moral of the story is I bypassed the Row Created functionality in the event of an update being triggered.

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).

Close() Return str End Function Protected Sub Page_Load(sender As Object, e As Event Args) Handles Me. Is Post Back Then filldata() End If End Sub Sub filldata() Try Dim con As New Sql Connection(constr) Dim cmd As New Sql Command("select * from clienttab order by id desc", con) Dim da As New Sql Data Adapter Dim ds As New Data Set da.

From this article, you will have a clear view of the Grid View data insert, delete, and update operations.