2008 VB 如何读取 access 中的OLE 数据
Dim conn As OleDbConnection = New OleDbConnection(DB_CnStr)
conn.Open()
Dim cmd As New OleDb.OleDbCommand(sql, conn)
Dim RS As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter(cmd)
Dim DT As New DataTable
RS.Fill(DT)
conn.Close()
txtbyte = DT.Rows(0).Item(6)
My.Computer.FileSystem.WriteAllByte("C:\Users\Administrator\Desktop\Visual basic\程序代码\点检系统\数据\temp.text", txtbyte, False)
读取出来的数据发现时乱码 ,不知道为什么有哪位大神帮帮忙啊
[解决办法]
百度 '.net 数据库 图片'