I have a GridView bound with an SQLDataSource. Search functionality for the
GridView needs to be added through the use of a DropDownList containing all
of the visible fields from the GridView, in addition to a textbox for search
text. I want to avoid hard coding the values in the DropDownList. How can I
retrieve these values programmatically either from the SQLDataSource or the
GridView itself?
Thanks in advance.
GridView needs to be added through the use of a DropDownList containing all
of the visible fields from the GridView, in addition to a textbox for search
text. I want to avoid hard coding the values in the DropDownList. How can I
retrieve these values programmatically either from the SQLDataSource or the
GridView itself?
Thanks in advance.