473,386 Members | 1,745 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,386 software developers and data experts.

Custom Paging for a DataGrid using Microsoft Access

Hi folks,

Have read a bit on this topic but so far no positive results.

I have the following table named 'discussions':

id discussionNumber from to status
1 1 xxx xxx done
2 1 xxx xxx done
3 2 xxx xxx done
4 3 xxx xxx done
5 4 xxx xxx done
6 4 xxx xxx done
7 4 xxx xxx done
8 4 xxx xxx done
9 4 xxx xxx done
10 4 xxx xxx done

I want to display all records for any given discussionNumber.

discussionNumber 4 has 6 items and
discussionNumber 1 has 2 items , etc.

If I have a PageSize = 2, then discussionNumber 4 should
present 3 pages.

Is this possible? Can anyone point to some sample code?
Preferrably VB.NET using MS Access.

I have Scott Mitchell's book but it has left some things
fuzzy for me.

Thanks,
Glenn
Aug 2 '06 #1
1 1452
Glenn see this sample at:-
http://www.dotnetjunkies.com/Tutoria...B871F967F.dcik
Patrick

"glenn" <gl***@discussions.microsoft.comwrote in message
news:33**********************************@microsof t.com...
Hi folks,

Have read a bit on this topic but so far no positive results.

I have the following table named 'discussions':

id discussionNumber from to status
1 1 xxx xxx done
2 1 xxx xxx done
3 2 xxx xxx done
4 3 xxx xxx done
5 4 xxx xxx done
6 4 xxx xxx done
7 4 xxx xxx done
8 4 xxx xxx done
9 4 xxx xxx done
10 4 xxx xxx done

I want to display all records for any given discussionNumber.

discussionNumber 4 has 6 items and
discussionNumber 1 has 2 items , etc.

If I have a PageSize = 2, then discussionNumber 4 should
present 3 pages.

Is this possible? Can anyone point to some sample code?
Preferrably VB.NET using MS Access.

I have Scott Mitchell's book but it has left some things
fuzzy for me.

Thanks,
Glenn


Aug 3 '06 #2

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

Similar topics

1
by: Alex | last post by:
I created a page to show RealEstate Data with images retrived from the MSSQL 2000. I am using a DataGrid control: <asp:datagrid AllowPaging="True" OnPageIndexChanged="Pageindexchanged" > ...
0
by: Stephen | last post by:
This is a real brain-teaser and i'd really appreciate it if someone can try and understand what im trying to do and give me a few pointers or ideas to help me work out my problem. Im basically...
2
by: Maziar Aflatoun | last post by:
Hi, I'm having problems with Custom Paging. Most of the articles out there show that the custom paging is done as the following article. ...
2
by: ager | last post by:
Greetings, I have a problem that I am trying to work through. Any help would be appreciated. I have an asp.net application that uses framesets. It has a banner frame, contents frame, and a...
2
by: asad | last post by:
Hello friends, i am designing a ASP.NET page where i want to use custom paging bcoz data is too heavy so pls tell me how can i use custom paging in ASP.NET Thanks
1
by: thechaosengine | last post by:
Hi all, Can somebody tell me if the built in paging support for the datagrid works when using a custom collection and a custom business object as the data. I was well pleased when I found that...
2
by: asad | last post by:
hello friends, how ru all I want to create a custom paging logic in ASP.NET with a next link for example if i have 100 pages record so i want to show 6 pages link on page one and next link ...
3
by: Sachin | last post by:
Hi All, I am using ASP.NET 2.0 Tree control to display hierarachical data. However because of the size of the data, tree takes ages to load on the browser. For that reason, I want to build...
2
by: rn5a | last post by:
In a shopping cart app, a ASPX page retrieves the order details & personal details of a user from a MS-Access database table depending upon the username of the user. The order details of a...
7
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
The default paging behavior of the gridview doesn't work well with very large sets of data which means we have to implement some sort of custom paging. The examples I have seen (4guysfromrolla,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.