试题详情
多项选择题You create an ASP.NET page that contains the following tag.  Page Name  You need to write code that will change the contents of the tag dynamically when the page is loaded. What are two possible ways to achieve this goal?()

A、this.hdr1.InnerHtml = "Text";

B、(hdr1.Parent as HtmlGenericControl).InnerText = "Text";

C、HtmlGenericControl h1 = this.FindControl("hdr1") as HtmlGenericControl;h1.InnerText = "Text";

D、HtmlGenericControl h1 = Parent.FindControl("hdr1") as HtmlGenericControl;h1.InnerText = "Text";

  • A,C
  • 关注下方微信公众号,在线模考后查看

热门试题