This is a migrated thread and some comments may be shown as answers.

Attachment field in accdb file

1 Answer 188 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 02 Aug 2016, 02:17 PM
I have a Access database (accdb file), one of its columns contains files with the image in attachment field. When i use this database as Data Source for RadGridView i see only the name of the attached file ("1.jpg", "2.jpg" etc), not the images. How can I see my images on RadGridView without editing database.

1 Answer, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 03 Aug 2016, 09:00 AM
Hi Andy,

Thank you for contacting us. 

Since the column in your database contains only the paths to the images, you should manually add a GridViewImageColumn to RadGridView and set the values of the image column as it is demonstrated in this forum post

In the attachments, you can find a sample demo demonstrating the described approach. 

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Ralitsa
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
GridView
Asked by
Andy
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Share this question
or