private static DataSet GetAuctionItemsDataSet()
{
SqlDataAdapter adapt = new SqlDataAdapter();
adapt = DataAdapter;
DataSet filler = new DataSet();
adapt.Fill(filler.Tables["AuctionItems"]);
adapt.Fill(filler.Tables["Bids"]);
return filler;
}
I want the the SqlDataAdapter to populate a new DataSet with records from the db. The DataSet should contain tables “AuctionItems” and “Bids” I think I am close but cannot seem to find the answer.
To populate the
DataSettry following syntax,