Alternative to Dataset??

  • Thread starter Thread starter angela
  • Start date Start date
A

angela

Hello everyone

I have two select statements, one pulling out the articles and another
select pulling out the articleIDs and companyIDs.

I use these two select statements to populate two datatables in a
dataset and use the RowFilter to populate a datagrid.

What I would prefer to use is a datareader and populate two arraylists,
but doesn't that mean when I come to populate the datagrid I have to
loop round the second arraylist and compare articleIDs and chose the
relevant companyIDs?

Hope this makes sense

Thanks

Angela
 

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