First of all set for the iframe runat="server".
Then you can get it on server side as
HtmlGenericControl myFrame = this.FindControl("fband") as
HtmlGenericControl;
Then you can set its attributes:
myFrame.Attributes["src"]="...";

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> <iframe
> id="fband"
[quoted text clipped - 7 lines]
>
> How to change iframe by using VS 2008 C# ?