Gridview1rowupdating old value
Introduction Websites often display thousands of data in a Grid View in ASP.
Usually admin can view the registered users on the website, but when an admin wants to edit or delete any fraud or duplicate or damaged data from the table there is a method in Grid View to edit, delete and update.
Sql Client; public partial class _Default : System.
Text for example gets me the old values not the changed data in the Text Box.
Hope it will work in your case as well." id="ctl00_m_m_i_ctl00_gr_ctl03_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="2038696" /Dim con DB As Sql Connection ' Set the path to the database Dim str Connect As String = "Data Source=SERVER; Initial Catalog=THEDBNAME; User Id=USER; Password=USERPASSWORD;" con DB = New Sql Connection(str Connect) con DB.
I have a similar problem and I solve it by putting the code in the form loading event.
event is raised when the Cancel button of a row in edit mode is clicked, but before the row exits edit mode.