Aspxgridview rowupdating newvalues

I have a problem, with Grid View and Template Fields.

We have an application which creates maintenance screens based on an xml configuration file. This all works However, we have a new requirement to add Drop Down Lists to some columns to enforce data integrity.

How do I grab the new values from these textboxes and proceed further?

I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.

Here's my code : protected sub Grid View1_Row Updating(By Val sender as object, By Val e as System. 1/ detailsview1 are working well at the time inserting data.

I would recommend trying this out and starting a new thread in the .

NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.

What happen if you leave the Bind Grid(); at the end but call Build Grid(); before finding the ddl?

I worry it will still dont have your new value, but let`s try.

Leave a Reply