How To user clients input in another Page

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2007
Posts: 4
Reputation: mohammadz is an unknown quantity at this point 
Solved Threads: 0
mohammadz mohammadz is offline Offline
Newbie Poster

How To user clients input in another Page

 
0
  #1
Oct 5th, 2008
hi guys, im building an e-shop website and i have alot of pages there.

Here's how it works...

The client will surf the site, choose the product he wishes to buy and checks on a textbox that says "add to cart". now when he chooses all he wants, he then have to click on a submit button to be submitted to the cart.

now how can i aquire the products he clicked to the cart's homepage

Im familiar with asp.net,javascript,html,css..


Thanks anyway guys.....

FELONG
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 4
Reputation: mohammadz is an unknown quantity at this point 
Solved Threads: 0
mohammadz mohammadz is offline Offline
Newbie Poster

Re: How To user clients input in another Page

 
0
  #2
Oct 5th, 2008
Btw im using c# programmin language.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 66
Reputation: reach_yousuf is an unknown quantity at this point 
Solved Threads: 12
reach_yousuf reach_yousuf is offline Offline
Junior Poster in Training

Re: How To user clients input in another Page

 
0
  #3
Oct 7th, 2008
Originally Posted by mohammadz View Post
Btw im using c# programmin language.
Hi

Use Dataset and store it in the session

If you r familiar with VB code. i can send the code


Mohammed Yousuf uddin
Software Developer
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 4
Reputation: mohammadz is an unknown quantity at this point 
Solved Threads: 0
mohammadz mohammadz is offline Offline
Newbie Poster

Re: How To user clients input in another Page

 
0
  #4
Oct 7th, 2008
I would be very pleased if you would send the code....thanks alot
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 66
Reputation: reach_yousuf is an unknown quantity at this point 
Solved Threads: 12
reach_yousuf reach_yousuf is offline Offline
Junior Poster in Training

Re: How To user clients input in another Page

 
0
  #5
Oct 8th, 2008
Originally Posted by mohammadz View Post
I would be very pleased if you would send the code....thanks alot
Hi again

Sorry about the delay!!!

Here is a piece of code: add to your appropriate event.

  1. Public Sub _doStuff()
  2. Dim ds As New DataSet
  3. Dim r As DataRow
  4.  
  5. r = ds.Tables(0).NewRow
  6.  
  7. With r
  8. r.Item("col1") = textbox1.text
  9. r.Item("col2") = textbox2.text
  10. End With
  11.  
  12. ds.Tables(0).Rows.Add(r)
  13.  
  14. 'To set Cache data
  15. Session("myDataset") = ds
  16.  
  17. End Sub
  18.  

Mohammed Yousuf uddin
Software Developer
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 4
Reputation: mohammadz is an unknown quantity at this point 
Solved Threads: 0
mohammadz mohammadz is offline Offline
Newbie Poster

Re: How To user clients input in another Page

 
0
  #6
Oct 8th, 2008
Thanks Alot.....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC