0
Answer

Passing parameter to ImageUrl

Ravinder Rai

Ravinder Rai

9y
541
1
What is wrong with the ImageUrl string? it keeps returning null. when i use the immediate debugging window, string picture returns a valid string from the database (defaultuser.png), but then the Image2.ImageUrl returns "". 

string picture = reader["picture"].ToString();
        Image2.ImageUrl = "images/" + picture;