试题详情
单项选择题You are implementing an ASP.NET page that will retrieve large sets of data from a data source. You add a ListView control and a DataPager control to the page. You need to ensure that the data can be viewed one page at a time. What should you do?()

A、Set the DataPager control’s PageSize property to the number of rows to view at one time.

B、Set the DataPager control’s PagedControlID property to the ID of the ListView control.

C、In the code-behind file, set the DataPager control’s Parent property to the ListView control.

D、In the code-behind file, set the ListView control’s Parent property to the DataPager control.

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

热门试题