| 热门文章 |
 |
|
| 编辑推荐 |
 |
|
|
|
|
|
作者:佚名
来源:不详 点击: 更新:2006-12-20
|
|
在连接字符串里加上服务器和数据库驱动程序就可以了 Example: dim conn set conn = Server.CreateObject("ADODB.Connection") conn.ConnectionString = "driver={SQL Server};"server=yourserver;uid=sa;pwd=pwd;database=pubs" conn.open Set cmd= Server.CreateObject("ADODB.Command") Set cmd.ActiveConnection = conn
|
|
|