Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 02-05-2011, 12:41 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2011
Location: BBSR, Orissa
Posts: 34
Default Paging in ASP.net DataList Control


[B]I have a DtaList control which fetches 20 record in my webpage...

I want to display 6 records in 3*3 style & a link at the bottom to view all records in another page.

I have set the RepeatColumns=3 & RepeatDirection="Horizontal" ,

But how to set the vertical Repeat=3

Last edited by binay00713; 02-05-2011 at 03:29 PM.
binay00713 is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-05-2011, 12:14 AM   #2 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Paging in ASP.net DataList Control

^^ use GridView
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 03-05-2011, 05:43 AM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2011
Location: BBSR, Orissa
Posts: 34
Default Re: Paging in ASP.net DataList Control

Quote:
Originally Posted by arpanmukherjee1 View Post
^^ use GridView
same question again
How to use the 3*3 style in gridview both horizontally & vertically?
binay00713 is offline   Reply With Quote
Old 03-05-2011, 09:30 AM   #4 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Paging in ASP.net DataList Control

didnt understand the question.

you want 6 records to be displayed in 9 (3*3) blocks. How
what is the query
what will the next page show if you have shown all records in 1 page

in gridview
set AutoGenerateColoums = true.
configure your dataset that has 3 coloums.
AllowPaging=true
PageSize=3
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 03-05-2011, 12:09 PM   #5 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,523
Default Re: Paging in ASP.net DataList Control

Quote:
Originally Posted by binay00713 View Post
[B]I have a DtaList control which fetches 20 record in my webpage...

I want to display 6 records in 3*3 style & a link at the bottom to view all records in another page.

I have set the RepeatColumns=3 & RepeatDirection="Horizontal" ,

But how to set the vertical Repeat=3
u cant set both vertical & horizontal repeat @ the same time
__________________
I'm the One you've been Waiting for...
Zangetsu is offline   Reply With Quote
Old 03-05-2011, 10:33 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2011
Location: BBSR, Orissa
Posts: 34
Default Re: Paging in ASP.net DataList Control

sorry i want to display 9 records in 3*3 style
binay00713 is offline   Reply With Quote
Old 03-05-2011, 11:16 PM   #7 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Paging in ASP.net DataList Control

did you try generating a 3 column dataset??
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 14-10-2011, 08:03 PM   #8 (permalink)
Right Off the Assembly Line
 
Join Date: Oct 2011
Posts: 1
Smile Re: Paging in ASP.net DataList Control

Hello Everyone,
Check this URL...
DataList Control in ASP.Net - MindStick

It might be useful for you.


Thanks
Beenu is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:27 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2