How to create dataset:-
DataSet dsCustomer= new DataSet();
1,480,000 results on create dataset in ado.net
Create Two DataTables:-
DataTable customersMast = dsCustomer.Tables.Add("CustomersMaster");
DataTable customersDet = dsCustomer.Tables.Add("CustomersDetails");
1,030,000 results on create datatable in ado.net
Relationship between two datatables:-
ForeignKeyConstraint custOrderFK = new ForeignKeyConstraint("CustOrderFK",
custDS.Tables["CustTable"].Columns["CustomerID"],
custDS.Tables["OrdersTable"].Columns["CustomerID"]);
custOrderFK.DeleteRule = Rule.None;
custDS.Tables["OrdersTable"].Constraints.Add(custOrderFK);
Please don't forget to mark this as your answer if it helps you out.
Thanks