two pictures upload at page 1 and see at page 3
actually i am trying to post two images at page 1 in a folder and want to show the image at page 3.so i am using the code:
string filepath = "C:\\Uploads";
Session["path"] = filepath;
HttpFileCollection uploadedFiles = Request.Files;
//List<string> myFiles = new List<string>();
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
userPostedFile.SaveAs(filepath + "\\" +
System.IO.Path.GetFileName(userPostedFile.FileName ));
to post the image at one click .and want to show at page 3 .how it is possible plz tell me.
thanks....gaurav
|