fit.Test.Double.SampleDomain.MakeDataTable C# (CSharp) Method

MakeDataTable() public method

public MakeDataTable ( ) : DataTable
return DataTable
        public DataTable MakeDataTable()
        {
            var table = new DataTable();
            table.Columns.Add("column1", typeof (string));
            table.Columns.Add("column2", typeof (string));
            var row = table.NewRow();
            row["column1"] = "value1";
            row["column2"] = "value2";
            table.Rows.Add(row);
            return table;
        }