Author: manojkiean | Posted on: 8/8/2009 6:22:51 AM | Views : 498

Hi friends  am using  asp.net 2008, My problem is Showing image from the folder.
I am uploading Image to the Temporary folder,(but it is not Saved), then passing the Same Image Path on Same Screen to display Image.



string FilePath = "~/AppDocs/Images/"; bool IsExists = System.IO.Directory.Exists(Server.MapPath(FilePath)); if (!IsExists) { System.IO.Directory.CreateDirectory(Server.MapPath(FilePath)); } Image Image = (Image)fvEmployees.FindControl("imgEmployee"); string[] FileName; FileName = FileUploadControl.FileName.Split('.'); if (TempEmpImageName == string.Empty) { TempEmpImageName = Guid.NewGuid( ...

Go to the complete details ...