-6

I need to convert a blob image and insert to MYSQL database..and need to retrieve that data and load in the picture box

andy
  • 5,979
  • 2
  • 27
  • 49
Nadir V V
  • 51
  • 1
  • 8
  • here's a converter class [C# Image to Byte Array and Byte Array to Image Converter Class](http://www.codeproject.com/Articles/15460/C-Image-to-Byte-Array-and-Byte-Array-to-Image-Conv) – John Woo Mar 01 '13 at 07:13
  • Jus Googled it, u had got 10000 results..... – andy Mar 01 '13 at 07:13

2 Answers2

0

Please look at

IMage - To - Byte - Array

And

Byte - Arrray - To - Image

This two links can solve your problem

Community
  • 1
  • 1
Rohit Vyas
  • 1,949
  • 3
  • 19
  • 28
0
v_file_data = Encoding.UTF8.GetBytes(ds.Tables[0].Rows[0]["logo"]);
RealSteel
  • 1,871
  • 3
  • 37
  • 74