473,326 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Pagination of a datagrid in alphabetical mode

Hi,

Can anybody throw some light about displaying records in
datagrid and pagination will be done alphabetically. Like
I want to click on G and want to display all the records
starts with G. Is there any property or custom coding in
Datagrid helps us to achieve this?

This is a bit urgent.

Thanks in advance....
Jul 21 '05 #1
2 1716
Hi,

Bind your grid to a dataview. Use the dataview's rowfilter method
to only show records starting with G.

http://msdn.microsoft.com/library/de...iltertopic.asp

Ken
-----------------------
"Mukesh Kumar" <an*******@discussions.microsoft.com> wrote in message
news:07****************************@phx.gbl...
Hi,

Can anybody throw some light about displaying records in
datagrid and pagination will be done alphabetically. Like
I want to click on G and want to display all the records
starts with G. Is there any property or custom coding in
Datagrid helps us to achieve this?

This is a bit urgent.

Thanks in advance....

Jul 21 '05 #2
Hi!

Thanks for the swift response. I am not using a dataset to
populate the grid, instead an arraylist is being used. Any
suggesttions?? Thanks in advance.

Mukesh
-----Original Message-----
Hi,

Bind your grid to a dataview. Use the dataview's rowfilter methodto only show records starting with G.

http://msdn.microsoft.com/library/default.asp? url=/library/en-
us/cpref/html/frlrfsystemdatadataviewclassrowfiltertopic.as
p
Ken
-----------------------
"Mukesh Kumar" <an*******@discussions.microsoft.com> wrote in messagenews:07****************************@phx.gbl...
Hi,

Can anybody throw some light about displaying records in
datagrid and pagination will be done alphabetically. Like I want to click on G and want to display all the records
starts with G. Is there any property or custom coding in
Datagrid helps us to achieve this?

This is a bit urgent.

Thanks in advance....

.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kruq | last post by:
Is it possible to use pagination with DataList? Can't find it.. :( Kruq
3
by: Joseph D. DeJohn | last post by:
I am trying to get pagination working on a datagrid. Can anyone point me to a resource for help on this? I'm not sure if custom paging is the best option or not.
0
by: Child | last post by:
I have a datagrid on which i would like a button column and pagination in the asp:datagrid tag i have the following code: onpageindexchanged="page_change" onitemcommand="gridact_itemcommand" ...
2
by: RB | last post by:
Hi All, The ASP.NET Datagrid's pagination capability allows me to display either the Next/Prev buttons or the Page numbers to allow the user to navigate through the datagrid page by page as...
0
by: Don Quijote de Nicaragua | last post by:
Hello chic@s, I have problem with pagination and procedure stored, can to show information within DataGrid, but when I do click in nobody of the number which they down appear for the pagination, do...
2
by: Mukesh Kumar | last post by:
Hi, Can anybody throw some light about displaying records in datagrid and pagination will be done alphabetically. Like I want to click on G and want to display all the records starts with G. Is...
1
by: OceanBreeze | last post by:
I am new to .Net. I am using ASP 2.0 and C#. I want to pupolate a data grid programatically using the values obtained from a list conating domain objects. E.g., DAL.GetEmployee() returns a...
2
by: =?Utf-8?B?SnVsaWEgQg==?= | last post by:
Hi all Got a weird problem with pagination on a datagrid in asp.net 1.1. It's populated depending on user selected criteria (it either displays all or 1 record). It works fine in the...
2
by: kkshansid | last post by:
this is my search page on which i am getting two parameters from previous page but the problem is that as soon as i click any other next pages my sql query fails as it doesnt get these two parameters...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.