學習目的
對於ASP來說
首先看一下ACCESS的連接數據庫並打開
string strConnection=
strConnection+=Server
OleDbConnection objConnection=new OleDbConnection(strConnection);
objConnection
dim objConnection as OleDbConnection
objConnection=new OleDbConnection(
objConnection
下面再看一下SQL SERVER的連接數據庫並打開
string strConnection=
SqlConnediob objConnection=new SqlCOnnection(strConnection);
objConnection
dim objConnection as SqlConnectiom
objConnection=new SqlConnection(
objConnection
實際上
另外
<%@Import Namespace=
<%@Import Namespace=
如果是SQL SERVER則需要包括以下語句
<%@Import Namespace=
<%@Import Namespace=
今天就說到這裡
From:http://tw.wingwit.com/Article/program/net/201311/14773.html