1
Reply

How to put one dataset into another dataset.

sai charan

sai charan

16y
5.8k
0
Reply

     Using Merge mathod , you can convert to two datasts to one

    as

    DataTable dt = new DataTable("Table");

    dt.Columns.Add("Clm");

    DataSet ds = new DataSet();

    ds.Tables.Add(dt);

    dt = new DataTable("Table1");

    dt.Columns.Add("Clm1");

    DataSet ds1 = new DataSet();

    ds1.Tables.Add(dt);

    ds1.Merge(ds);