title: Not getting image in Image Control by Url in asp.net
body: <p>Hello Friends i am storing an image via URL in database but when i retrieve it on Image Control of asp.net it doesn't show the image please help  </p>
  
  <pre><code>Profile.aspx.cs
  
  con.Open();
                      string str = "SELECT * FROM [aspdotnetpractice].[dbo].[Users]  where Username ='" + lblHowdy.Text + "'";
                      SqlCommand com = new SqlCommand(str, con);
                      SqlDataReader reader = com.ExecuteReader();
                      if (reader.Read())
                      {
                          Image1.ImageUrl = Server.MapPath(reader[8].ToString());
                          Label1.Text = reader[1].ToString();
                          Label2.Text = reader[2].ToString();
                          Label3.Text = reader[3].ToString();
                          Label4.Text = reader[6].ToString();
                          Label5.Text = reader[4].ToString();
                          reader.Close();
                          con.Close();
                      }
  </code></pre>