Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All, I am trying to read image into image control while form loading, without any file up loader, i need convert image control image into binary format.

Please help me...

Thanks to all.
Posted
Comments
Sergey Alexandrovich Kryukov 5-Feb-13 22:47pm    
Do you know something which is not in "binary format"? :-)
—SA
Suri Rayal 5-Feb-13 22:53pm    
How to save image control image into sql server database, give example code, without file upload control...

1 solution

Image is already in "binary format". Problems solved :-)

[EDIT]

About images in database: it's not good to answer the same question again and again; it was asked too many times. Please see:
http://www.codeproject.com/search.aspx?doctypeid=5&q=%28database+OR+SQL%29+%28image+OR+images%29[^].

—SA
 
Share this answer
 
v2
Comments
Suri Rayal 5-Feb-13 22:49pm    
ok, how save the image control image into sql server database...
Sergey Alexandrovich Kryukov 5-Feb-13 22:58pm    
I answered...
—SA
Suri Rayal 5-Feb-13 23:04pm    
thanks for your answer
Sergey Alexandrovich Kryukov 5-Feb-13 23:08pm    
You are welcome. Will you accept it formally (green button)? — thanks.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900