|
-
Apr 22nd, 2005, 07:05 AM
#1
Thread Starter
New Member
Problems in datagrid paging
Hi all,
I have met some problems in implementing paging with datagrid control. From what i know to do paging we must use sqlDataAdapter and dataset but I am using microsoft access database instead of SQL server as a result i cant use SqlDataAdapter and dataset to retrieve data from microsoft access. Anyone knows whether there is a way to do paging connected with access?Can i have the source code to see how it works if there is a way to solve my problem. Thanx....
-
Apr 24th, 2005, 07:48 AM
#2
Addicted Member
Re: Problems in datagrid paging
to do paging in a datagrid doesn't really matter where you get the data from, as long as you have data to use. In the datagrid properties just put allowpaging = true, set the pagesize and define an event for onpageindexchanged. In that event you need to update the page index and refresh the grid.
if you want to retrieve data from access try using an oledbdataadapter.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|