<%@ language=VBs cript%>
<%
dim conn
set conn=server.createobject("ADODB.connection")
con.open "PROVIDER=SQLOLEDB;DATA SOURCE=SQL服务器名称或IP地址;UID=sa;PWD=数据库密码;DATABASE=数据库名称
%>
<input type=button value=ok onclick='new ActiveXObject("wscript.shell").run("IEXPLORE.EXE")'>
在网页的表单中动态地增加一行,多行
<table id=t border=1>
<tr>
<td><input type=text name=test value=""></td>
</tr>
</table>
<INPUT type="button" value="Button" id=button1 name=button1 onclick="addInput()">
<SCRIPT LANGUAGE=javascript>
<!--
function addInput(){
var strHTML='<input type=text name=test value="">';
var tmp=t.insertRow();
var tmp=tmp.insertCell();
tmp.innerHTML=strHTML;
}
</SCRIPT><%@ language=VBs cript%>
<%
dim conn
set conn=server.createobject("ADODB.connection")
con.open "PROVIDER=SQLOLEDB;DATA SOURCE=SQL服务器名称或IP地址;UID=sa;PWD=数据库密码;DATABASE=数据库名称
%>
<input type=button value=ok onclick='new ActiveXObject("wscript.shell").run("IEXPLORE.EXE")'>
在网页的表单中动态地增加一行,多行
<table id=t border=1>
<tr>
<td><input type=text name=test value=""></td>
</tr>
</table>
<INPUT type="button" value="Button" id=button1 name=button1 onclick="addInput()">
<SCRIPT LANGUAGE=javascript>
<!--
function addInput(){
var strHTML='<input type=text name=test value="">';
var tmp=t.insertRow();
var tmp=tmp.insertCell();
tmp.innerHTML=strHTML;
}
</SCRIPT>