How can I databind a gridview to more than one control?

N

needin4mation

Hi, I have a gridview. I have a dropdown. When the dropdownlist
changes the datasource in the gridview looks for the dropdownlist value
and changes according.

What if I want an either/or situation? I also want a textbox on the
same form with a button. If the user puts data in the textbox and
clicks search that same gridview populates based upon the value.

But how do I put them on the same page with the same gridview?

Thank you for any help.

asp.net 2.0
vs 2005
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,477
Members
44,898
Latest member
BlairH7607

Latest Threads

Top