0
Answer

Reading from Access 2007 attachment

Ask a question
Ove Jorgensen

Ove Jorgensen

15y
5.5k
1
Does anybody have a sample for reading from the attachment field type in Access 2007
For this test I'm using Contacts.accdb from Microsoft Press and the table tblContacts which have a photo in Cell 26.
In the datagrid I only see the name og the file.
I want to show the picture in a picturebox.

To fill a text box I use
            textBox1.Text = Convert.ToString(dataGridView1.Rows[0].Cells[24].Value);

How do I fill a picturebox?