|
|
Answers:
We can do this by using DataAdapter's fill Method.Syntax for This is
DataSet ds=new DataSet();
SqlDataAdapter dap=new SqlDataAdapter(<query1>,<connection>);
dap.Fill(ds,"<TableName>");
SqlDataAdapter dap1=new SqlDataAdapter(<query2>,<connection>);
dap1.Fill(ds,"<TableName1>");
If you have the better answer, then send it to us. We will display your answer after the approval.
   
|