// DataSet Orders = new DataSet(); // What ever DataSet that it is ... ... bool isAnyRec = false; foreach (DataTable myDT in Orders.Tables) if (myDT.Rows.Count() > 0) { isAnyRec = true; break; } ... if( ! isAnyRec ) Orders.Tables["Details"].Rows.Add( myDataRow );> I want to be able to have my Add button to add a record into the Orders DS if I don't have a record there and then add record to the Details table.