Professional Documents
Culture Documents
search...
Dotnet Framework
Ado Net
ASP Net Apps
13. Name the two properties of the GridViewcontrol that have to be specified to turn on sorting and paging.
The properties of the GridViewcontrol that need to be specified to turn on sorting and paging are as follows:
The AllowSortingproperty of the Gridview control indicates whether sorting is enabled or not. You
should set the AllowSortingproperty to Trueto enable sorting.
The AllowPagingproperty of the Gridviewcontrol indicates whether paging is enabled or not. You
should set the AllowPagingproperty to Trueto enable paging.
http://indiabix.com/technical/dotnet/ado-dot-net/3
1/3
3/20/2014
18. How can you identify whether or not any changes are made to the DataSetobject since it was last loaded?
The DataSetobject provides the following two methods to track down the changes:
The GetChanges()method - Returns the DataSetobject, which is changed since it was loaded or since
the AcceptChanges()method was executed.
The HasChanges()method - Indicates if any changes occurred since the DataSetobject was loaded or
after a call to the AcceptChanges()method was made.
If you want to revert all changes since the DataSetobject was loaded, use the RejectChanges()method.
http://indiabix.com/technical/dotnet/ado-dot-net/3
2/3
3/20/2014
2008-2014 by IndiaBIX T echnologies. All Rights Reserved | Copyright | T erms of Use & Privacy Policy
Contact us: info@indiabix.com
Follow us on twitte r!
Bookmark to:
http://indiabix.com/technical/dotnet/ado-dot-net/3
3/3