A
Alan T
I want to get records by joining 2 tables:
SqlDataAdapter da = new SqlDataAdapter
("select p.ID, p.Name, c.Name from Product p left join Category c on p.catID
= c.ID");
DataSet ds = new DataSet();
da.Fill(ds, ....);
How do I fill the dataset ?
Or is there a better way to do that?
SqlDataAdapter da = new SqlDataAdapter
("select p.ID, p.Name, c.Name from Product p left join Category c on p.catID
= c.ID");
DataSet ds = new DataSet();
da.Fill(ds, ....);
How do I fill the dataset ?
Or is there a better way to do that?