Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 23rd, 2006, 04:46 AM
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.

  #2 (permalink)  
Old December 27th, 2006, 02:15 PM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

There is some great tutorials to help you get started here:

http://asp.net/learn/default.aspx?tabid=63




Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding a menu with dataset zaghmout ASP.NET 2.0 Professional 1 August 14th, 2007 05:24 AM
binding arraylist of structures to data grid in C# belzicool General .NET 1 May 9th, 2007 11:58 PM
Having Trouble With Binding Dataset in Access flyingfox Pro VB.NET 2002/2003 1 August 26th, 2004 03:22 PM
HELP!! GRID NOT BINDING reidcor BOOK: ASP.NET Website Programming Problem-Design-Solution 17 June 27th, 2004 05:20 PM
Binding a Dataset to a Report ChrisLane Crystal Reports 4 March 9th, 2004 02:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.