the View state is disabled because I need the the Grid View to be displayed even when there is no data.I bind the data on each postback which I think might be part of the problem. One thing I did notice is that is that when the update button is clicke...Alok Hi aloksinha83, Please see this post: Qin Dian Tang Microsoft Online Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help....updating a Grid View When I click update I get the following error...Could not find control 'txt Cost' in Control Parameter 'Cost'. i ve written code like this Drop Down List ddl1= (Drop Down List)grd Validations. 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.
In one of other pages which are as content There is Grid View which contains Text Box. I want to show addtion of all Text Boxes in Rows into the Footer Row Text Box as I enter any Value in any Text Box.
Handle Event(Event Args e, Boolean causes Validation, String validation Group) at System.
On Bubble Event(Object source, Event Args e) at System.
And I also want to Validate Text Box for null value and Footer Row Text Box value should not be greater than 100.
If Failed I want to Show message in Label in Other Row.
Specifically, how can I retrieve the initial column value from the gridview prior to edit to pass on to an updatecommand?