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

微软认证考试

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

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application.  You write the following code fragment.  ’ runat="server"/>  | English | Chinese | Japan | Korean | - 124 - Test Information Co., Ltd. All rights reserved. ’ runat="server" />      When you access the Web page, the application throws an error.  You need to ensure that the application successfully updates each caption and stores it in the database.  What should you do?()

  • A、Add the ID attribute to the Label control.
  • B、Add the ID attribute to the TextBox control.
  • C、Use the Bind function for the Label control instead of the Eval function.
  • D、Use the Eval function for the TextBox control instead of the Bind function.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题