Hi All,
I want to load an image(jpeg,png,..etc) from the hard disk and load it into image control in ASP.NET.
I prefer C# as the programming language.
After loading the image , i want to save the file location in a text file. Then the next time i can read the text file and i can get the image location[path]. I can do the same thing for the form application, but difficult to mange web applications[ASP.NET].
So simply what i need is; code segment for
-Browse an image file from the disk
-Load it into a image control[if resizing is possible, then good]
-then save the image location to a text file
can anybody help me to do this?
Thanks,
Charithmax
Loading
PJ MartinsPosted Jun 25, 2010, 10:24 AM
Charith LiyanagamagePosted Jun 25, 2010, 11:08 PM
http://asp.net-tutorials.com/controls/file-upload-control/
this is the code segment....
--------------------File Upload Control--------------------------------------------------------------------------------------------