Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2004, 03:26 AM
Authorized User
 
Join Date: Dec 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kvanchi
Default datagrid-paging

how to do paging using datagrid
i want the page size to be 10
it shld display prev and next button
when click on next button it shld display next 10 records
can anyone help me

bye
 
Old December 3rd, 2004, 06:43 AM
Authorized User
 
Join Date: Sep 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well Kawanchi,

If U want to restrict the datagrid to display 10 records, then u have to go in the properties of the datagrid in design mode. I mean right click the datagrid and select properties, at the bottom of the properties pane u will see "property builder" link. Click it and u will land in property builder window.

select paging from right, then select paging , then enter ur desired number of rows.click apply and enjoy
same way u will c at the bottom of the same window how u want to dis[play navigation to the next record.

properties->property builder-> paging -> select paging option->enter no, of rows to be displayed->apply->ok

Regards



 
Old December 8th, 2004, 04:17 AM
Authorized User
 
Join Date: Dec 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kvanchi
Default

Thank u so much



Quote:
quote:Originally posted by Asteroid
 well Kawanchi,

If U want to restrict the datagrid to display 10 records, then u have to go in the properties of the datagrid in design mode. I mean right click the datagrid and select properties, at the bottom of the properties pane u will see "property builder" link. Click it and u will land in property builder window.

select paging from right, then select paging , then enter ur desired number of rows.click apply and enjoy
same way u will c at the bottom of the same window how u want to dis[play navigation to the next record.

properties->property builder-> paging -> select paging option->enter no, of rows to be displayed->apply->ok

Regards








Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom paging in Datagrid with datagrid page count madhusrp ASP.NET 1.0 and 1.1 Professional 12 June 2nd, 2008 01:15 PM
Paging in DataGrid vijay_83 ASP.NET 2.0 Professional 0 September 29th, 2006 02:02 PM
DataGrid Paging nsrujan C# 0 February 6th, 2006 09:12 AM
Paging in datagrid Renu ASP.NET 1.0 and 1.1 Basics 2 September 9th, 2004 01:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.