I have two datasets named dataset1,dataset2. I want put the left outer join relation between them.
eg:dataset1 left outer join dataset2
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.
Your question is a bit unclear so there are at least two possible answers.
If you do indeed have two different
DataSets and they need to stay as separateDataSets then you could use LINQ (with Linq to DataSet) to create a left outer join. Here are a couple of blog post explaining how to create left outer joins using LINQ (one and two). Your code will probably look something along the lines ofIf you really meant doing a join between two
DataTables or you can combine two DataSets into a single DataSet using the Merge method and then create a relationship between any two tables. Your code will look something along the lines of: