復(fù)制代碼 代碼如下: <% dim objconn,connstr Set objconn = Server.CreateObject("ADODB.Connection") connstr = "Provider=SQLNCLI;Server=(local);Database=sosuo8.comdatabase;Uid=sa;Pwd=123;" objconn.Open connstr %>
您可能感興趣的文章:
Windows 2003 IIS 6.0 搭建可建虛擬機的asp+.net+php+jsp+mysql+mssqlASP控制每頁打印行數(shù)asp循環(huán)行數(shù)輸出函數(shù)asp php 清空access mysql mssql數(shù)據(jù)庫的代碼ASP+MSSQL2000 數(shù)據(jù)庫被批量注入后的解決方法asp刪除mssql數(shù)據(jù)庫中沒有記錄的圖片代碼asp實現(xiàn)的查詢某關(guān)鍵詞在MSSQL數(shù)據(jù)庫位置的代碼asp實現(xiàn)獲取MSSQL數(shù)據(jù)庫表指定條件行數(shù)的函數(shù)