试题详情
单项选择题 You are developing an ASP.NET Web page. The page contains the following markup.  The pages code-behind file includes the following code segment.  You need to get a reference to the Image named img. Which code segment should you add at line 06?()

A、Image img = (Image)Page.FindControl("img");

B、Image img = (Image)e.Row.FindControl("img");

C、Image img = (Image)gvModels.FindControl("img");

D、Image img = (Image)Page.Form.FindControl("img");

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

热门试题