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

微软认证考试

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

You are implementing an ASP.NET page in an e-commerce application. Code in abtnAddToCart_Click event handler adds a product to the shopping cart. The page should check the status of the shopping cart and always show a cart icon when one or more items are in the shopping cart. The page should hide the icon when the shopping cart has no items. You need to add an event handler to implement this requirement. Which event handler should you add?()

  • A、btnAddToCart_Click
  • B、Page_Load
  • C、Page_PreRender
  • D、Page_PreInit
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题