I know you can look at the row.count or tables.count, but are there other ways to tell if a dataset is empty?
#region Extension methods public static class ExtensionMethods { public static bool IsEmpty(this DataSet dataSet) { return dataSet == null || dataSet.Tables.Count == 0 || !dataSet.Tables.Cast().Any(i => i.Rows.Count > 0); } } #endregion