Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi Friends,

Is it possible to insert image in Text file in asp.net using c#.net. Please do the helpfull as soon as possible.
Posted
Updated 8-May-12 19:16pm
v2
Comments
Prasad_Kulkarni 9-May-12 1:14am    
Image in file?? means what??
are you talking about database?

this link may help you
http://aspnettutorialonline.blogspot.com/2012/05/adding-text-to-image-using-c-with.html
 
Share this answer
 
For example, you can encode image as base64 and insert it in some text file. I don't think it can make a whole lot of sense. At least, I hope you are not expecting that customary text editors will show an image for you. :-)

If you want some further detail, you will have to provide detail motivation and explanation of the ultimate goal of this weird activity; I don't want to waste time on something unless I know for sure it can really help someone. If the question is based on some misconception (who knows?), I would prefer to explain it and suggest some alternatives.

—SA
 
Share this answer
 
v4
Comments
Maciej Los 24-May-12 4:29am    
Succinct and to the point! +5!
Sergey Alexandrovich Kryukov 24-May-12 11:27am    
Thank you, Maciej.
--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