Showing posts with label RowDataBound. Show all posts
Showing posts with label RowDataBound. Show all posts

Monday, June 18, 2012

Set selected value of DropDownList in GridView EditItemTemplate


In Asp.Net the GridView supports Edit mode by means of configuring the controls in the EditItemTemplate.

For Textboxes, setting value in the Edit mode is straight forward, we can just set the Text property and the value will get displayed while editing the row.