W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
<% set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open(Server.Mappath("/db/northwind.mdb")) set rs = Server.CreateObject("ADODB.recordset") rs.Open "SELECT Companyname, Contactname FROM Customers", conn str=rs.GetString(,,"
","
"," ") %>
<%Response.Write(str)%>
<% rs.close conn.close set rs = Nothing set conn = Nothing %>