急求vb.net2005连接
sql和acc
数据库代码!~~给分30!
有那位大哥能发一段vb.net连接
sql和acc
数据库的
代码给我吗?
本人初学这个,望能注明重要步骤的说明~小弟在此谢谢了!~~
__________________________________________________________________________
Dim conn As OleDb.OleDbConnection = New OleDb.OleDbConnection( Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|/DataManage.mdb;Persist Security Info=True;Jet OLEDB:Database Password=admin )
Dim cmd As OleDb.OleDbCommand = New OleDb.OleDbCommand( SELECT 8 FROM
;,conn) __________________________________________________________________________ sql类似~ __________________________________________________________________________ Dim cn As New OleDb.OleDbConnection Dim constring As String = Provider=Microsoft.Jet.OlEDB.4.0;Data Source=./TSGL.mdb cn.ConnectionString = constring 这是连接access的 __________________________________________________________________________ 谢谢连接问题以解决。请在问一下,连好后具体操作怎么呢,比如要把textBox1.text的内容写入数据库tel中的表telphone的name字段,代码因该怎么写!~~谢谢大虾!~~ __________________________________________________________________________ 你搜索以下insert语法就知道了 __________________________________________________________________________