Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > carrying the user input across pages..

Reply
Thread Tools

carrying the user input across pages..

 
 
Ani
Guest
Posts: n/a
 
      10-28-2003
Hi,

I need to carry the user input across pages and then at
the end insert all the values into the DB. How do I best
accomplish this task in ASP.Net. I am a novice , please
give me some simple suggestions.

Thanks.
 
Reply With Quote
 
 
 
 
Mike Moore [MSFT]
Guest
Posts: n/a
 
      10-28-2003
Hi Ani,

I think you will like session variables. Here's a simple sample across
multiple pages.

Page1
Session("stock") = "abc"
Page2
Session("price") = "10"
(I'm keeping this to strings for now.)
Page 3
now use session("stock") and session("price") to insert into the
database.

Each user gets their own set of session variables. The variables last until
you clear them with Session.Abandon or until the timeout expires (set the
timeout in web.config).

For further information, please see:
http://msdn.microsoft.com/library/de...us/dnaspnet/ht
ml/asp12282000.asp

Thank you, Mike
Microsoft, ASP.NET Support Professional

Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computerís security.

This posting is provided "AS IS", with no warranties, and confers no rights.


--------------------
> Content-Class: urn:content-classes:message
> From: "Ani" <(E-Mail Removed)>
> Sender: "Ani" <(E-Mail Removed)>
> Subject: carrying the user input across pages..
> Date: Tue, 28 Oct 2003 08:51:03 -0800
> Lines: 8
> Message-ID: <0e8801c39d73$ac466400$(E-Mail Removed)>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Thread-Index: AcOdc6xGuK71QPphSzKrkNBOGz3b4w==
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
> Newsgroups: microsoft.public.dotnet.framework.aspnet
> Path: cpmsftngxa06.phx.gbl
> Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:187032
> NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
> X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
> Hi,
>
> I need to carry the user input across pages and then at
> the end insert all the values into the DB. How do I best
> accomplish this task in ASP.Net. I am a novice , please
> give me some simple suggestions.
>
> Thanks.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing input values across user controls GregStevensTX ASP .Net 0 04-09-2007 05:03 PM
Carrying data for a Datagrid from page to page tshad ASP .Net 5 05-13-2005 05:39 PM
How to configure bgpv4 "carrying label information" capability advertisement in cisco router ? Arun Cisco 0 06-10-2004 05:49 AM
Session State not carrying across assembly boundary JezB ASP .Net 5 05-26-2004 04:21 AM
carrying the user input across pages.. ani ASP .Net 1 10-28-2003 05:57 PM



Advertisments