Browse an image from the disk and load it into image control and save the file path in a text file
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