2 datasets into 1 datagrid

  • Thread starter Thread starter Mike Fellows
  • Start date Start date
M

Mike Fellows

I have 2 datasets that i need to put into 1 datagrid

each dataset has the same amount of columns and contains the same type of
data
but column names are different (though i know how to rename them if this is
an issue)

i need to insert dataset1 into the datagrid (not a problem) but how can i
then append
dataset2 onto my datagrid

i then need to sort the datagrid by one of the columns

thanks in advance

Mike Fellows
 
You can create joined dataset before binding to datagrid. Combine both into
one using SQL (union) or whatever you use now.

HTH
Alex
 

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

Back
Top