Hello,
I am Visual Web Developer 2005 and MS accsess to make a data driven webpage. I have a web page which has a drop down list and a gridview. Both of them are linked to tables in the database and when the user selects an item (user name) from the list box, the item is used to filter the gridview. [I did this visually i.e configure data source menu).

My question is this. Is it possible to filter the gridview using two user names instead of one?. i.e when the user selects two or more names from the drop down list then the gridview needs to be filtered using ALL the selected names. How can I do this? It would be great if i could do this visually as well. If not the code would also help.

(I am new to this and sorry if the question is too simple.)

Thanks in advance.

I think you should use ListBox control instead of DropDown List control.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.