ASP+JS涓夌骇鑱斿姩鍒嗙被select涓嬫媺妗 - 2涓ょ鏂规硶

绗竴绉嶆柟娉曪細

<%
'OD浜鍏ㄧ綉鎺ㄥ箍 - www.odweb.cn
'sort   涓绾у垎绫昏〃:sort_id,sort_name
'nsort  浜岀骇鍒嗙被琛:nsort_id,sort_id,nsort_name
'nnsort 涓夌骇鍒嗙被琛:nnsort_id,nsort_id,nnsort_name
%>

<%
dim count
set rs=server.createobject("adodb.recordset")
sql="select * from  nsort"
rs.open sql,conn,1,3
%>


<%
sql = "select * from nnsort"
rs.open sql,conn,1,1
%>




JS涓夌骇杩炲姩涓嬫媺妗










<%'OD浜戝叏缃戞帹骞 - www.odweb.cn
set rs=nothing
conn.close
set conn=nothing
%>


浠ヤ笂涓虹涓绉嶆柟娉曪細

绗簩绉嶆柟娉曪細

<%
response.write"1:"&Request.form("s1")&"
"
response.write"2:"&Request.form("s2")&"
"
response.write"3:"&Request.form("s3")&"
"
%>
澶嶅埗浠g爜 浠g爜濡備笅:




涓夌骇鑱斿姩锛
<%
Dim count1,rsClass1,sqlClass1
set rsClass1=server.createobject("adodb.recordset")
sqlClass1="select * from a"
rsClass1.open sqlClass1,conn,1,1
%>







鏁寸悊锛OD浜戝叏缃戣惀閿 | www.odweb.cn


浠ヤ笂灏辨槸ASP+JS涓夌骇鑱斿姩鍒嗙被select涓嬫媺妗嗙殑璇︾粏鍐呭锛屾洿澶氫俊鎭鍏虫敞OD浜戝叾瀹冪浉鍏虫枃绔狅紒



鏈枃URL锛http://www.odweb.cn/news_show.html?id=27