I have 2 datatables objdatatable1 and objdatatable2 .
I need to filter the data in objdatatable2 such that market_id in objdatatable2 should not be in objdatatable1.
I am even to open to linq which will filter the contacts on not in clause
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This copies to DataTable
dtall rows fromobjectdatatable2which have values in the ‘market_id’ field which do not appear in a field of the same name inobjectdatatable1. In this edit the ‘market_id’ field is of typestringinobjectdatatable2and of typeintinobjectdatatable1.