sharon raj

sharon raj

  • NA
  • 10
  • 694

Bind the Image value in div tag by using C# code

Apr 25 2017 2:12 AM
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
con.Open();
cmd.ExecuteNonQuery();
Session["dispal"] = ds.Tables[0].Rows[0]["image"].ToString();
div.style["Foreground-image"]=ds.Tables[0].Rows[0]["image"].ToString();  is Possible

Answers (2)