Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Easy DB Question
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

TerryG
Junior Member

United Kingdom
179 Posts

Posted - 31 May 2001 :  13:34:07  Show Profile
This is gonna be real straightforward for you guys:
I got a form on a HTML page, user hits submit button and a separate ASP/ADO page takes over and data gets stuffed into a DB as it should. Now, how do I re display the form to the user with all his data in the fields as he input it? Snippits of code would be a big help!!!

redbrad0
Advanced Member

USA
3725 Posts

Posted - 31 May 2001 :  13:45:58  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
first get the data in a variable..
<%
strDataOfText = Request.Form("FieldName")
%>
<input type="text" name="FieldName" value="<%=strDataOfText%>">


Brad
Go to Top of Page

mafifi
Junior Member

USA
308 Posts

Posted - 31 May 2001 :  15:02:50  Show Profile  Send mafifi an ICQ Message
Here is a good example with the code.
http://www.web-savant.com/users/kathi/asp/samples/database/sample5.asp

Thanks,

Mo
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07