|
-
Mar 12th, 2001, 10:46 AM
#1
Thread Starter
Hyperactive Member
How do I refresh the form after a buttonclick? I have a simple form with a table, textbox, and button and the following form code:
Code:
<FORM METHOD="GET" ACTION="ADOAdd.asp">
<P>
Enter New Facility: <INPUT TYPE="Text" NAME="FacName">
</P>
<INPUT TYPE="Submit" VALUE="Update">
<%
CN.Execute("INSERT tblFacilities (Facility) VALUES ('" & Request.QueryString("FacName") & "')")
%>
</FORM>
How would I refresh this form after adding the record?
-
Mar 13th, 2001, 08:09 AM
#2
Set the action property of the form to the current asp page so it reloads itself
-
Mar 14th, 2001, 01:42 AM
#3
Addicted Member
If the Current Page is Start.asp Then
The page ADOAdd.asp
should have the line
Response.Redirect "Start.asp"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|