How to Upload and Display File in C# ASP.Net 2005
-
Dear Friends, I have a problem, i want that user can upload file to my web page(for eg then can add picture) and then i want to display the same file in my webpage after the uploading of that file... second thing i want to do is that user can write comments in my webpage so i want to display that comment in my webpage....(just same as i am writing a question now and then it will display at the codeproject webpage) Plz help...
-
Dear Friends, I have a problem, i want that user can upload file to my web page(for eg then can add picture) and then i want to display the same file in my webpage after the uploading of that file... second thing i want to do is that user can write comments in my webpage so i want to display that comment in my webpage....(just same as i am writing a question now and then it will display at the codeproject webpage) Plz help...
Use fileupload control available in vs.net 05 and set the properties of that control to save files... also save file paths in db so that when u want to show the photos just show them using the file path saved in db and for your comments i think the approach to save in db first and then display it on the form is a better idea