Problem about 'INSERT' in sql-ado

Reply

Join Date: Sep 2006
Posts: 5
Reputation: 2bejiw is an unknown quantity at this point 
Solved Threads: 0
2bejiw's Avatar
2bejiw 2bejiw is offline Offline
Newbie Poster

Problem about 'INSERT' in sql-ado

 
0
  #1
Sep 20th, 2006
i have 1 page for submit this code
-----------------------PAGE1.ASP-----------------------------------------
SEND DATA pro_id by using from to PAGE2.ASP
----------------------- PAGE2.ASP-----------------------------------------
<input name="pro_id" type="text" id="pro_id" value="<%=pro_id%>" disabled="1">
-----------------------------------------------------------------------------
PAGE2 SUBMIT TO PAGE3.ASP
BUT page3 doesn't get a data from PAGE2.ASP
i don't know why
how can i do ..............................................................................
.................................................................................................
PS. variable pro_id. i have recieve from another page ...

and i want to submit this from to next page
for insert that data into my database.

but it can't .... computer dosen't recieve my from
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 107
Reputation: madmital is an unknown quantity at this point 
Solved Threads: 3
madmital madmital is offline Offline
Junior Poster

Re: Problem about 'INSERT' in sql-ado

 
0
  #2
Sep 25th, 2006
You should post more code.
But from the code given the problem could be that
"<%=pro_id%>" means "write out the value of a local variable.
Since this variable is passed from a previous page, it most likely should be
  1. "Request.QueryString("pro_id")"
  2. or
  3. "Request.Form("pro_id")"
Web Developer
When something seems too good to be true...it usually is
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 Forum


Views: 1357 | Replies: 1
Thread Tools Search this Thread



Tag cloud for ASP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC