S
Samantha Smit
Hi,
I am trying to create a simple asp page that has one command button that
updates a database. The URL of the page is like this:
http://MyServer.com/Update.asp?UserName=Tom
My asp code is like this:
%@ Language=VBScript %>
<!--#include file="includes/openconnection.asp"-->
StringUserName = Request.QueryString("UserName")
StringSQL = UPDATE Users SET Current = 0 WHERE UserName = '" &
StringUserName & "'")
I need to build the command button so that it shows up on my page and then
execute StringSQL when the user clicks the button. How do I do this?
Thanks,
Sam
I am trying to create a simple asp page that has one command button that
updates a database. The URL of the page is like this:
http://MyServer.com/Update.asp?UserName=Tom
My asp code is like this:
%@ Language=VBScript %>
<!--#include file="includes/openconnection.asp"-->
StringUserName = Request.QueryString("UserName")
StringSQL = UPDATE Users SET Current = 0 WHERE UserName = '" &
StringUserName & "'")
I need to build the command button so that it shows up on my page and then
execute StringSQL when the user clicks the button. How do I do this?
Thanks,
Sam