Sql Server 数据库,想用OLE db连数据库,怎么连呀?

网络整理 - 07-26
<%
set cn=server.createobject("adodb.connection")
cn.provider="sqloledb"
cn.open "driver={SQL server};server=(Local);uid=sa;pwd=;
database=your database"
set rs=......


%>