Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

How to do a searchable gridview ( not with sqldatasource )

$
0
0

I'm trying to do a searchable gridview. I'm trying to do the type of gridview where user can search via the column name. For example, if i were to put some of my column as datakey, there will be a dropdownlist to select the column name where the user would like to search. AFter selecting the data of the dropdownlist, the user will type some data in the textbox and the gridview result will change accordingly.

So far, i managed to complete paging and sorting. However, now i need a searching. Unfortunately, most of the research link i found are all using sqldatasource function in the toolbox of VS2012. But mine is using SqlDataAdapter. Therefore may i ask if anyone has any reference or way to do a searchable gridview where the data is not binded via sql data source.

Regards 


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>