Asp net gridview rowupdating new values

AARP_DATA_D1_Bill Matri It still gets the old values, when I loop thru the Dictionary and in debug step thru it I see it still gets the original values not the new values that the user enters when they are changing each item.

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

But what happens is that I do get some of the values but they are the original values not the new ones being changed.

I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base. To finish up then one has to set the Sql Data Source Update Parameters to the desired values. The syntax for doing so is: Protected Sub GVSupport Info_Row Updating(sender As Object, e As System. 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.

Leave a Reply

  1. dating advice tips com 29-Apr-2020 20:12

    From Facebook to Google, Twitter and Instagram - free does not mean cheap.