多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You have created an ASP.NET server control named ShoppingCart for use by other developers. Some developers report that the ShoppingCart control does not function properly with ViewState disabled. You want to ensure that all instances of the ShoppingCart control work even if ViewState is disabled. What should you do?()

  • A、Require developers to set EnableViewStateMac to true.
  • B、Store state in ControlState instead of ViewState.
  • C、Serialize the state into an Application state entry called "MyControl"
  • D、Require developers to change the session state mode to SQL Server.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题