Posted on: 9/16/2015 12:12:33 AM | Views : 795

Hello all
i have a problem with my project as the FileUploads is working fine and the images are storing in the correct folder, but when i open the folder to check the image i found that the images are excist but it just like a image file the size is 0 bytes and when i click on it showing nothing. So may some one give me advice to solve this issue. I have post the code as below but i dont think the problem is form the code as its work as it should be

private string[] GetImagess(string UID) { SqlConnection EdPersInfoCon = new SqlConnection(sc); EdPersInfoCon.Open(); SqlCommand EdPersInfocmd = new SqlCommand(); string sqlstatment = @"select Img,Logo,image1,image2,image3 from UserInfo Where UID=@UID"; EdPersInfocmd.Connection = EdPersInfoCon; EdPersInfocmd.CommandType = CommandType.Text; EdPersInfocmd.CommandText = sqlstatme ...

Go to the complete details ...