Workshop

Quiz

1:True or False: When paging through a DataGrid's data, you can bind either a DataSet or a DataReader to the DataGrid.
2:What are the difference between the Next, Previous buttons and the Page numbers navigational modes?
3:The DataGrid contains an integer property called PageCount, which returns the total number of pages of data that the DataGrid contains. Give an equation expressing the value of this property. (Hint: it involves the number of total items in the DataGrid's DataSource as well as the number of items to be shown per page.)
4:What are the steps required to create the PageIndexChanged event handler?
5:Describe what the DataGrid's CurrentPageIndex property indicates.
6:Why does the Page_Load event handler bind the data to ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.