vb.net查询更新添加删除access数据库(标准化类库)

上传者: ec_guo | 上传时间: 2019-12-21 19:41:44 | 文件大小: 82KB | 文件类型: rar
vb.net查询更新添加删除access数据库(标准化类库) 部分代码: Imports System Imports System.Data.SqlClient Imports System.Configuration Imports System.Collections.Generic Imports System.Text Imports System.Data Imports System.Configuration.ConfigurationSettings Imports System.Data.OleDb Public Class Database Private ConnStr As String Private AcConn As OleDbConnection ''' ''' 数据库连接路径及方式 ''' ''' Sub New() 'ConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "\Test.mdb;Persist Security Info=False" ConnStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath & "\Test.accdb;Persist Security Info=False" End Sub Sub New(ByVal OleConnStr As String) ConnStr = OleConnStr End Sub Sub New(ByVal AcessVision As String, ByVal DataSource As String, ByVal PersistInfo As String) 'connectionString = System.Configuration.ConfigurationSettings.GetConfig("Supermarket") '连接2010数据库 'connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\GCU.accdb" '连接03-07数据库 ConnStr = "Provider=" & AcessVision & ";Data Source=" & DataSource & ";Persist Security Info=" & PersistInfo End Sub ''' ''' 数据库连接字符串 ''' ''' ''' ''' Public Property OleConnStr() As String Get Return ConnStr End Get Set(ByVal value As String) ConnStr = value End Set End Property

文件下载

资源详情

[{"title":"( 27 个子文件 82KB ) vb.net查询更新添加删除access数据库(标准化类库)","children":[{"title":"VbConnAccess2","children":[{"title":"VbConnAccess2","children":[{"title":"My Project","children":[{"title":"Settings.settings <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"AssemblyInfo.vb <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Resources.Designer.vb <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form1.Designer.vb <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.vbproj <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"AcessConn.vb <span style='color:#111;'> 10.70KB </span>","children":null,"spread":false},{"title":"Form1.vb <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"VbConnAccess2.exe <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"My Project.Resources.Designer.vb.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"VbConnAccess2.xml <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.vbproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"VbConnAccess2.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"VbConnAccess2.vbproj.FileListAbsolute.txt <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"VbConnAccess2.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"VbConnAccess2.exe <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.xml <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.vshost.exe <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"Test.accdb <span style='color:#111;'> 392.00KB </span>","children":null,"spread":false},{"title":"VbConnAccess2.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"VbConnAccess2.sln <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"VbConnAccess2.suo <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wenluderen :
    例程很详细 有价值
    2019-12-26
  • 随风飘 :
    例程很详细,还有注释,不错!
    2019-03-08
  • z70zql56 :
    例程很详细,还有注释,不错!
    2019-01-31
  • fengyuan14 :
    太给力了!
    2016-12-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明