Gridview rowupdating textbox value

As you can see that two Bound Columns and two Template Columns.The Category ID and Category Name are the Bound columns which are bound to the "Category ID" and "Category Name" fields in the Categories table in Northwind Database.A Grid View Edit Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the edit operation should be canceled.In this article I will show you that how you can validate the controls which are inside the Grid View control.In this article, I am going to explain how to insert, update or delete a row from a grid view control. At run time, the Eval method calls the Eval method of the Data Binder object.If you are new to using a grid control, I would recommend you to read my blogs “Using Grid View in ASP. The Eval method takes the name of a data field and returns a string containing the value of that field from the current record in the data source.For this I will make the editable Grid View and use the Required Field Validator for the Text Boxes.I will also show you that how you can use validation against the Drop Down List control which is contained inside the Grid View control.

Software architect with over 10 years of proven experience in designing & developing n-tier and web based software applications, for Finance, Telecommunication, Manufacturing, Internet and other Commercial industries.

He believes that success depends on one's ability to integrate multiple technologies to solve a simple as well as complicated problem.

english-premier-league.ru

14 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>