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
答案解析:有
微信扫一扫手机做题