how to store many datatables to a dataset in asp.net 1.1 version
-
using DataSet.Tables.Add() method
Regards, Sylvester G sylvester_g_m@yahoo.com
-
using DataSet.Tables.Add() method
Regards, Sylvester G sylvester_g_m@yahoo.com
-
But my problem still exists i hav many datasets returning from class file(cs) and i have to pass all datasets to a single dataset in aspx.cs page Regards, puthu :sigh:
DataSet containerdataset = new DataSet(); containerdataset.Tables.Add(ds1.Tables[0].Copy()) containerdataset.Tables.Add(ds2.Tables[0].Copy()) containerdataset.Tables.Add(ds3.Tables[0].Copy()) containerdataset.Tables.Add(ds4.Tables[0].Copy()) containerdataset.Tables.Add(ds5.Tables[0].Copy()) where ds1,ds2...ds5 are your dataset and finally all the tables you will get it in containerdataset
Regards, Sylvester G sylvester_g_m@yahoo.com