Repeater List

  • Thread starter Thread starter Big E
  • Start date Start date
B

Big E

I'm using ASP.Net.
I have a Repeater that uses a stored procedure to list stuff and have a
hyperlink that allows users to click and go to another page.
I also have a drop down list on the form.
I would like users to be able to select from the drop down list and have
that selection filter the dataset. I don't want to use a parameter in the
stored procedure from the drop down list because on load I don't want a
filter.
Any ideas?

Big E
 
To what are you binding the Repeater?

If to a DataReader, then you are limited by what is returned by the stored
procedure - meaning that you'd have to pass a parameter to the stored
procedure which you say you don't want to do.

If to a DataSet, then you can filter specific DataTables within it. You can
look in online help for DataView objects and for other ways to
sort/search/filter DataTables.
 
Back
Top