1 Attachment(s)
How to show ole image of mdb in a form
I have an mdb database with some images in it. I would like to show these pictures on my form. I dragged the datagrid to my form but when I test it, I'm getting error. Here's a screenshot:
Attachment 106189
And I have this code:
Code:
Private Sub SarkilarBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) Handles SarkilarBindingNavigatorSaveItem.Click
Me.Validate()
Me.SarkilarBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.ThmDataSet)
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'ThmDataSet.sarkilar' table. You can move, or remove it, as needed.
Me.SarkilarTableAdapter.Fill(Me.ThmDataSet.sarkilar)
End Sub
I'm using Visual Studio 2012. How can I fix this and show the pictures on my form?