asp 操作兩種資料庫的方法

2021-05-28 12:59:10 字數 468 閱讀 6981

using system;

using system.collections.generic;

using system.linq;

using system.web;

using system.web.ui;

using system.web.ui.webcontrols;

using system.data.sqlclient;

using system.configuration;

using system.data.oledb;

public partial class default2 : system.web.ui.page

protected void button1_click(object sender, eventargs e)

else

if (sing)

else

con.close();}}

ASP連線各種資料庫的方法

用asp連線dbf dbc mdb excel sql server型資料庫的方法 一 asp的物件訪問資料庫方法 在asp中,用來訪問資料庫的物件統稱ado active data objects 主要含有三種物件 connection recordset command connection 負...

asp連線幾種資料庫的方法

用asp連線各種資料庫的方法一 asp的物件訪問資料庫方法 在asp中,用來訪問資料庫的物件統稱ado active data objects 主要含有三種物件 connection recordset command connection 負責開啟或連線資料 recordset 負責訪問資料表 c...

ASP連線各種資料庫的方法(大全)

asp連線sql server的方法 set adocon server.createobject adodb.recordset adocon.open driver server local uid pwd database 資料庫名 asp連線sql server 通過 ole db連線方法 ...