i am getting error on below code "Object reference not set to an instance of an object." ..i have debugged the code strURL is not blanked
public void displayPic(string strURL)
{
if (!IsPostBack)
{
try
{
//imzProfilePic.ImageUrl ="~/App_Data/Images/UserImages/home.jpg"; /// ths is suppose to be in URL..i have checkd tht ths folder has the image
imzProfilePic.ImageUrl = strURL;
imzProfilePic.Visible = true;
}
catch (Exception ee)
{
ee.Message.ToString();
}
}
}