Help with data displayed in a gridview

G

Gabriel León

Hi,

Im developing a web site. i have a couple of tables in my sql server 2000
and i want them to be displayed by the same gridview by changing the
objectdatasource or tableadapter or whatever.

Ive already created my data connection, Ive included two tableadapters one
for each of my db tables. After these i configure my gridview data source
and i selected an objectdatasource and i assigned it one of the
tableadapters to the business object.

It works perfect at this point. Now im adding a dropdownlist and i would
like to change the data that is displayed in my gridview from one table to
the other when i select a value in this dropdownlist.

I dont know how to change it with code.

Any ideas?

Best regards,

Gabriel León
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top