iframe src attribute in C#:
iFrame src changing c#
aspx:
<iframe name="iframeanimfx" id="iFranmeGame" runat="server"
scrolling="no" frameborder="no" height="400px"
width="750px">
</iframe>
aspx:cs:
DataSet ds = new DataSet();
ds = objDal.PlayGame(GameID);
if (ds.Tables[0].Rows.Count != 0)
{
iFranmeGame.Attributes["src"] =
ds.Tables[0].Rows[0]["Game_Path"].ToString();
}