Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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
 
Old December 20th, 2006, 06:12 AM
Authorized User
 
Join Date: Jan 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default storing a gridview to session in asp.net 2.0

Hi

protected WebApplication2.dsGrd dsGrd;

if (Session["GridDataSet"].ToString() != "NEW")
            {

                dsGrd = (WebApplication2.dsGrd) Session["GridDataSet"];

            }
            else
                dsGrd= new WebApplication2.dsGrd();


this was done in asp.net 1.1.
i want the same to be done in 2.0 how to do it.and if possible write the code in vb.net.How do you call the dataset in asp.net 2.0.ive created an xsd schema called dsGrd.or shud we use table adapetr for this.im very confused.pls tell me.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing return value of a Stored Proc in a Session mahajanvit ASP.NET 2.0 Basics 0 November 2nd, 2006 10:16 AM
Storing a dataset across a session jainnid General .NET 1 December 2nd, 2005 03:17 PM
Storing objects in Session variables mega ASP.NET 1.0 and 1.1 Basics 8 November 16th, 2004 02:38 PM
Storing PHP Session data in a MySQL db? CFerthorney PHP Databases 1 May 10th, 2004 08:33 AM





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