Gridview rowupdating get new value
I'd like to know if there are any other ways to retrieve the new values?
// Iterate through the New Values collection and HTML encode all // user-provided values before updating the data source. New Values) guru_sami, sorry it took me so long to get back, I have been off on vacation and just got back, but yes you are right on, I went back and debugged the entire postback and it was rebinding the grid on postback on the page_load event. Issue with getting values from child controls in a gridview, to use for the update using a SQLData Source control Hi all, I have a gridview bound with a SQLData Source.I am using the Update feature of the SQLData Source to update a SQL Server database with values entered into the gridview. I believe this is due to the controls that contain the user entries are not the gridview itself, but rather child controls within the gridview.The Textbox values come back as empty, which is even stranger. Below is the code for both the Grid View HTML and the C# code behind.Code (C# On Updating Event) protected void gv Main_Row Updating(object sender, Grid View Update Event Args e) Gridview HTML Code x WHERE (Rec ID = @Rec ID) " Select Command="SELECT Rec ID, Company ID, Region ID, Country ID, Company Code, Company Name, App ID, Country Code, Country Name, Region Company ID, Region, Model Name, Translate Model, Price, Last Updated On, Last Updated By FROM dbo.