Convert file from folder (directory) on disk to byte array (Binary) using C# and VB.Net

Last Reply on Jan 16, 2015 12:25 AM By Andrea

Posted on Jan 16, 2015 12:25 AM

Hi,

How to convert Image to byte array and store in datatable. When I am Converting the Image to byte array and saving to datatable It is saving bytes like "Syste.Byte[]". At retrive time it will all Bytes which one I stored in datatable against Image id.

Please help me.

 

Thanx in advance.

You are viewing reply posted by: Andrea on Jan 16, 2015 12:25 AM.
Posted on Jan 16, 2015 12:25 AM
Hi @LokeshH,
Please try the following

Read image file and convert to byte array from folder on disk using C# and VB.Net

It might help you.

Cheers Andrea.