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

微软认证考试

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

You are implementing an ASP.NET page. You add and configure the following ObjectDataSource.  The page will be called with a query string field named pid. You need to configure the ObjectDataSource control to pass the value of the pid field to GetProductsByProductId method. What should you do? ()

  • A、Replace the asp:QueryStringParameter with the following declaration.
  • B、Replace the asp:QueryStringParameter with the following declaration.
  • C、Add the following event handler to the Selecting event of the ObjectDataSource control.
  • D、Add the following code segment to the page’s code-behind.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题