这段代码为什么参数无效?非常短,来看看,come
Dim conn As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=test.mdb")
conn.Open()
Dim d As String = " select zhaopian from 表1 where name='1'"
Dim comm As New OleDbCommand(d, conn)
Dim reader As OleDbDataReader = comm.ExecuteReader
reader.Read()
Dim photofile() As Byte
photofile = reader.GetValue(0)
Dim streamph As New MemoryStream(photofile)
PictureBox1.Image = Image.FromStream(streamph)
conn.Close()
conn.Open()
Dim d As String = " select zhaopian from 表1 where name='1'"
Dim comm As New OleDbCommand(d, conn)
Dim reader As OleDbDataReader = comm.ExecuteReader
reader.Read()
Dim photofile() As Byte
photofile = reader.GetValue(0)
Dim streamph As New MemoryStream(photofile)
PictureBox1.Image = Image.FromStream(streamph)
conn.Close()
...全文
相关推荐
PICMG COMe规范
PICMG COMe R2.0规范,介绍了COME TYPE1,TYPE2,TYPE3,TYPE6,TYPE10
各类COMe规范资源合集
COM Express Module Base Specification_R3.0 picmg_come carrier design guide_2.0 等等
COMe Type10 标准开发板原理图
COMe Type10 标准开发板原理图,原厂标准资料,内有很多标准计算机电路解决方案
控创COMe TYPE10设计指南
详细描述了控创TYPE10的载板设计要求
COME设计手册资料
该部分资料主要用来讲述如何对COME进行详细地设计.


