public void TestCase() { var ds = FillDataSetExample.Example(); Assert.Greater(ds.Tables.Count, 0); Assert.Greater(ds.Tables[0].Rows.Count, 0); Assert.Greater(ds.Tables[0].Columns.Count, 0); }
public ManipulateDataExampleTests() { /*DS = new DataSet (); * var aDataTable = new DataTable (); * * aDataTable.Columns.Add (new DataColumn ("Field", typeof(string))); * DS.Tables.Add (aDataTable); * * foreach (var x in new int[] { 1,2,3,4,5 }) { * AddRow (x.ToString ()); * } */ DS = FillDataSetExample.Example(); }