Gridview rowupdating dropdownlist findcontrol

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.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.The "Description" and "Choose" columns are template columns.

I have done the same thing with the Drop Down List.

Since the Drop Down List is in the Item Template of the Grid View control so I placed the Required Field Validator inside the Item Template right beneath the Drop Down List control.

english-premier-league.ru

77 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>