Name the two properties of the GridView control that have to be specified to turn on sorting and paging.
The properties of the GridView control that require to be specified to turn on sorting and paging are as follows:
The AllowSorting property of the Gridview control shows whether sorting is enabled or not. You should set the AllowSorting property to True to enable sorting.
The AllowPaging property of the Gridview control shows whether paging is enabled or not. You should set the AllowPaging property to True to enable paging.