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
答案解析:有

微信扫一扫手机做题