2
Answers

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

sharon raj

sharon raj

7y
237
1
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)