试题详情
单项选择题You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()

A、<% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %>

B、<% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %>

C、<% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %>

D、<% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %>

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

热门试题