Gridview rowupdating get new value
If you go with the flow, you probably won't get stuck, but the moment you try to go against the grain you end up with a hand full of thorns.
Most of the data controls have events ending in ing and ed e.g. In most of the event handlers of the ing events it is easy to get the values from the event args.
There is alot of magic going on behind the scenes (which I will blog about in a separate post), but you do not need to know how it works to use it, e.g expression then the value of the Text property is pushed into a dictionary which the data control can retrieve later.
So how does Grid View/Form View/Details View/List View get these values?
I have been using the web site successfully for just over a year, and I am presently using a Select button in the row to launch a detailsview, and I edit the database that way.
I'd like to know if there are any other ways to retrieve the new values?
From the time you write code that depends on the immediate layout of your page then your asking for trouble.
I often see people on the forums writing code like this: Find Control is a very powerful method on Control that allows you to search for a nested control, NOT synonymous to DOM function get Element By Id.
2-way Data Binding2-way Databinding is a cool feature in ASP.
NET 2.0 which allows the user to write some special syntax to bind against property values they would like to extract from a control.