Binding grid to dataset

Jan 3 2007 9:02 AM
Hi,

im new to asp.net 2005.how do u access dataset in here.i.e. how do u bind the grid to a dataset in 2.0.is it using creating xsd schema (and creating an instance of dataset and filling thru sqldataadapter) or creating dataset where a datatable is there.n how do u access the dataset in the page.

for example - in 2003
if (Session["GridDataSet"].ToString() != "NEW")
{
dsGrd = (WebApplication2.dsGrd) Session ["GridDataSet"];

}
else
dsGrd= new WebApplication2.dsGrd();

how do you store the same thing in a session variable in 2005 asp.net.and how to bind to the grid the dataset.pls tell me if u know the same.

Regards,
Tasnim Abbas.

Answers (1)