【www.gdgbn.com--php与数据库】

<%
set cn=server.createobject("adodb.connection")
cn.provider="sqloledb"
cn.open "driver={SQL server};server=(Local);uid=sa;pwd=;
database=your database"
set rs=......
%>

本文来源:http://www.gdgbn.com/jiaocheng/3083/