Skip to content

Binding grid to dataset

tasnim abbas

Asked Jan 3, 2007, 4:02 AM EST1 answer
Share
LinkedInX
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.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Do anyone knows this answer.Im not seem to get any replies from any singe person.Hope somebody wil clarify this for me.
    0