当前位置:MCTS(70-515)题库

问题:

[单选]

You are implementing a read-only page that includes the following controls.
You disable view state to improve performance. You need to ensure that the page is updated to display the latest data when the user clicks the refresh button. Which code segment should you use?() 

A . protected void Page_PreInit(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers();  gvCustomers.DataBind(); } }
B . protected void Page_Load(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); }
C . protected void gvCustomers_DataBinding(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); }
D . protected void Page_PreRender(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } }

危险化学品单位在应急管理中应当做哪些基础性工作? UDP工作在()。 数据链路层。 传输层。 应用层。 网络层。 跨度为12m的预制阳台脱模起吊时混凝土强度允许值应达到()。 A.40% 。 B.50% 。 C.65% 。 D.75%。 萨尔贡 职业技能鉴定的特点是()。 以职业活动为导向,以理论考试为主要依据,以第三方认证原则为基础。 以职业能力为导向,以实际操作为主要依据,以第三方认证原则为基础。 以职业活动为导向,以实际操作为主要依据,以第三方认证原则为基础。 以职业标准为导向,以实际操作为主要依据,以第三方认证原则为基础。

You are implementing a read-only page that includes the following controls.
You disable view state to improve performance. You need to ensure that the page is updated to display the latest data when the user clicks the refresh button. Which code segment should you use?() 

参考答案:

  参考解析

本题暂无解析

在线 客服