16,555
社区成员
发帖
与我相关
我的任务
分享
dim dt as new Tables
'查出圖片來填充好dt
If IsDBNull(dt.Rows(0).Item("IM_DTA")) = False Then
Dim BytImageData() As Byte = dt.Rows(0).Item("IM_DTA")
Dim StmImageData = New System.IO.MemoryStream(BytImageData)
Me.pictruebox.Image = Image.FromStream(StmImageData)
Else
Me.pictruebox.Image = Nothing
End If