Skip to content

Commit

Permalink
Backport of r146151
Browse files Browse the repository at this point in the history
svn path=/branches/mono-2-4/mcs/; revision=146152
  • Loading branch information
grendello committed Nov 13, 2009
1 parent 0267677 commit ffd46ec
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -38,17 +38,17 @@ public DataTable GetTable()
table.Columns.Add("Dosage", typeof(int));
table.Columns.Add("Drug", typeof(string));
table.Columns.Add("Patient", typeof(string));
table.Columns.Add("Date", typeof(DateTime));
table.Columns.Add("Date", typeof(string));

//
// Here we add five DataRows.
//
DateTime dt = new DateTime (2009, 11, 13);
table.Rows.Add(25, "Indocin", "David", dt);
table.Rows.Add(50, "Enebrel", "Sam", dt);
table.Rows.Add(10, "Hydralazine", "Christoff", dt);
table.Rows.Add(21, "Combivent", "Janet", dt);
table.Rows.Add(100, "Dilantin", "Melanie", dt);
table.Rows.Add(25, "Indocin", "David", "2009-11-13");
table.Rows.Add(50, "Enebrel", "Sam", "2009-11-13");
table.Rows.Add(10, "Hydralazine", "Christoff", "2009-11-13");
table.Rows.Add(21, "Combivent", "Janet", "2009-11-13");
table.Rows.Add(100, "Dilantin", "Melanie", "2009-11-13");
return table;
}

Expand Down

0 comments on commit ffd46ec

Please sign in to comment.