Display data from differente tables in one Gridview

G

Guest

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.

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.

I also need to edit, delete and insert records from the grid.

Any ideas?

Best regards,
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top