Rowupdating getting old values

Posted by / 12-May-2020 06:06

In this tutorial we are searching for our Text Box controls txt Product Name and txt Unit Price.To get the Primary Key reference we can use the Data Keys collection of the Grid View. So what you need to do is store the data source (maybe in Session) and only bind rebind the data when you absolutely need to (Like during the Is Not Post Back) Do you understand?

Add With Value("@pfirstname", str Last Name) If cn. Row Updating Dim str Person ID As String = Direct Cast(Grid View1. To String() Dim str Last Name As String = Direct Cast(Grid View1. So Grid View will put the appropriate row into the Edit Mode by assigning row number to its Edit Index property.All updated values are passed to the Stored Procedure.

rowupdating getting old values-22rowupdating getting old values-6rowupdating getting old values-18

One thought on “rowupdating getting old values”