Go Back   CP Web Hosting - reseller hosting > Server Scripting > ASP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2007, 04:25 AM
Senior Member
 
Join Date: Apr 2007
Posts: 347
Default how to get this data back on the other page

hi,
i want to send a data by using href. like this sample.aspx?data=14 but i don't know how to get this data back on the other page?
Reply With Quote
  #2 (permalink)  
Old 07-04-2007, 04:30 AM
Senior Member
 
Join Date: May 2007
Posts: 329
Default

Use strData = Request("data")
Reply With Quote
  #3 (permalink)  
Old 07-04-2007, 04:31 AM
Senior Member
 
Join Date: Apr 2007
Posts: 311
Default

if you used method = "post", you would use request.form to retrieve the data.
Reply With Quote
  #4 (permalink)  
Old 07-04-2007, 04:32 AM
Senior Member
 
Join Date: May 2007
Posts: 217
Default

Request.QueryString["data"]
Reply With Quote
  #5 (permalink)  
Old 07-04-2007, 04:33 AM
Senior Member
 
Join Date: May 2007
Posts: 334
Default

use method="post"
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



All times are GMT. The time now is 03:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0