Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello
I want a code that post the image link in the file upload control to the body of a certain web page .

so it can directly view on the page whatever I'm uploading

I'm using c# , sql

any ideas ?




thanks in advance
Posted
Updated 9-Aug-12 20:02pm
v2

To preview the image.check my below article.


Previewing Image in ASP.NET Image Control using C#[^]

To save and retrieve image, check this article.
http://www.c-sharpcorner.com/UploadFile/1a81c5/convert-file-to-byte-array-and-byte-array-to-files/[^]

The only change you have to make is if you have image control, then use httphandler to convert bytearray to image as in preview article.
 
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