sai charan
How to put one dataset into another dataset.
By sai charan in ASP.NET on Jun 18 2008
  • shabbir anjum
    Jun, 2008 18

     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);

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS