You need to ensure that the data can be viewed one page at a time

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?

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 codebehind file, set the DataPager control’s Parent property to the ListView control.

D.
In the codebehind file, set the ListView control’s Parent property to the DataPager control.



Leave a Reply 0

Your email address will not be published. Required fields are marked *