站内搜索
广告
ASP做查询分析器(Query Analyzer)(III)
作者:    来源:    点击:    日期:2007-4-14 23:39:58   
sqlultimate.asp--Part C

<html>
<head>
<title>BuildSQL</title>
<!--#include file="DataTypeLib.asp" -->    

<script language="JavaScript1.2" type="text/javascript">

<!--
    function addField(field)     {
       strField = document.sqlForm.strSQL.value;
       strField = strField + " [" + field + "]";
       if(confirm("Add " + field + "?"))
             document.sqlForm.strSQL.value = strField;      
    }
//-->

</script>

</head>

<body bgcolor="#f4e1d2">

<%
If request("createTable") <> "Create Table" Then
   response.write("<form name=""sqlForm"" action=""sqlultimate.asp"" method=""POST"">" & vbCrLf)
End If

If request("createTable") = "Create Table" Then
   call createTable()
ElseIf strServer = ""  Or request("showConnectdb") = "Connect" Then    
%>
<h2 align=center>Log into Database Server</h2>
   <p align=center>
            Server:        <input name="sqlserver" type="text" value="<%= strServer %>"><br>
            User Name: <input name="log_in" type="text" value="<%= strUserID %>"><br>
            Password:   <input name="user_password" type="password" value="<%= strPassword %>"><br><br>
              <input type=submit>
    </p>
<%
ElseIf request("savequery") = "Save Query" and strSQL <> "" Then
首页 上一页 [1] [2] [3] [4]  下一页 尾页 
ASP做查询分析器(Query Analyzer)(III) 评论