Yes,
DataAdapter object can accept either DataTable or DataSet as parameter to fill data from database.
eg.
DataAdapter object can accept either DataTable or DataSet as parameter to fill data from database.
eg.
SqlDataAdapter dAd = new SqlDataAdapter(); DataTable dTable = new DataTable(); DataSet dSet = new DataSet(); ---- --- dAd.Fill(dTable); // will also work dAd.Fill(dSet); // will also work
No comments:
Post a Comment