Gridview rowupdating event in asp net
I worry it will still dont have your new value, but let`s try.
The other solution is to drop that dynamic control creation and uses standard item and edit templates (declaratively in the aspx file) With just Build Grid() called, then the ddl is null.
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.
I have therefore added the relevant xml, and when creating the grid, create the column as a Template Field and the Edit Item as a Drop Down List with its own Sql Data Source.