文件名称:asp.net连接Access数据库
文件大小:28KB
文件格式:DOC
更新时间:2017-01-31 14:59:42
asp Access 数据库
asp net连接Access数据库 <%@ Import Namespace "System Data" %> <%@ Import NameSpace "System Data OleDb" %> <script laguage "VB" runat "server"> Dim myConnection As OleDbConnection Dim myCommand As OleDbCommand sub page load sender as Object e as EventArgs "1 连接数据库 dim dbname as string dbname server mappath "authors mdb" myConnection New OleDbConnection "PROVIDER Microsoft Jet OLEDB 4 0;DATA Source "&dbname myConnection Open la1 text "Connection Opened "">asp net连接Access数据库 <%@ Import Namespace "System Data" %> <%@ Import NameSpace "System Data OleDb" %> <script laguage "VB" runat "server"> Dim myConnection As OleDbConnection Dim myCommand As OleDbCommand sub pag [更多]