2
Reply

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

sharon raj

sharon raj

Apr 25 2017 2:12 AM
224
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)