Setting SelectedValue


D

David C

I have a GridView that I would like to set the selected value to a specific
record but the SelectedValue is a read-only. I would like to do it on
Page.Load based on a QueryString passed to the page. I know I can do it
with the SelectedIndex but then I would have to know the index location of
the record. Can I do something in RowDataBound to set the selected record?
Thanks.

David
 
Ad

Advertisements


Top