Click here to Skip to main content
15,896,502 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,
i have to insert image in database without using image handler.. previuosly i was inserting the path of that image ,but now i have to insert image in binary formate and also retrive that image to display in my screen........
Can any one please help me....
Posted
Comments
SwitcherSoft 31-Mar-11 7:21am    
Hello,

If i understand you correctly, you need to insert an image (which is at a certain path that you have) to a column in some table, is this correct?


What database back-end are you using? (Sql Server, MySql)

Regards

Terence

1 solution

Hello...


Set Datatype Of Field as Image And Convert To Image To Binary Data And Store In Database And Then Retrive Time Use Generic Handler For Displaying Image In Gridview And In Generic Hander U Convert Binary To Image...
And Call Generic Hander From Gridview Image Field DataField Property.......
 
Share this answer
 

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