Comparing two collection lists

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-16T22:21:41Z Indexed on 2010/04/16 22:23 UTC
Read the original article Hit count: 290

Filed under:

I've been at this for few hors now and can't seem to find a solution. I have 2 invnetory lists, one a spreadsheet and the other data table. I need to match the spreadsheet agains the data table to find out if I have missing inventory. The spreadsheet should match with what I have in the db, ie the spreadsheet is like a master so when I have missing inventory in DB I need to add it an list and build a report.

I thought by looping throught the spreadsheet and for each inventory in the spreadsheet loop through the data table I can achieve my goal but that proved to be wrong. Any ideas how I would do this?

Thanks, Eric

© Stack Overflow or respective owner

Related posts about c#