View Single Post
 
Old December 23rd, 2006, 04:46 AM
thas123 thas123 is offline
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default binding the grid to dataset??

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.