How to search data on DataGridView that is being data paging? [modified]
-
Now, I'm use to data paging in DataGridView. When I search data on DataGridView that is just show data in present page. Have the way solve this problem? I would like get all data rows of DataTable that is being data paging on DataGridView. For example: pagesize = 5, DataTable have two pages. data in 1st page:
name age
John 21
N.John 20
Nancy 20
Tomath 21
Jan 22and data in 2nd page:
name age
Jany 20
Alpha 21
Don 22
Bony 20
Tomy 22One-page is present page. I'm beginning search data at "name" column as 'Tom'. It is just show one row in DataGridView. This data is correct when it show two rows in DataGridView. That is all. Can anyone help me?:confused:
modified on Wednesday, September 10, 2008 7:04 PM