Click here to Skip to main content
16,006,065 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: common practice for development 3 tiered application Pin
uglyeyes15-Nov-09 22:16
uglyeyes15-Nov-09 22:16 
QuestionI want to create paging by Datalist language VB.net [modified] Pin
sunshinesnow15-Nov-09 16:13
sunshinesnow15-Nov-09 16:13 
AnswerRe: I want to create paging by Datalist language VB.net Pin
Not Active15-Nov-09 16:18
mentorNot Active15-Nov-09 16:18 
QuestionSintax problem Pin
Maxdd 715-Nov-09 15:46
Maxdd 715-Nov-09 15:46 
AnswerRe: Sintax problem Pin
_Damian S_15-Nov-09 15:55
professional_Damian S_15-Nov-09 15:55 
GeneralRe: Sintax problem Pin
Maxdd 715-Nov-09 16:01
Maxdd 715-Nov-09 16:01 
GeneralRe: Sintax problem Pin
Not Active15-Nov-09 16:20
mentorNot Active15-Nov-09 16:20 
GeneralRe: Sintax problem Pin
Christian Graus15-Nov-09 17:26
protectorChristian Graus15-Nov-09 17:26 
GeneralRe: Sintax problem Pin
Maxdd 715-Nov-09 17:31
Maxdd 715-Nov-09 17:31 
GeneralRe: Sintax problem Pin
Not Active15-Nov-09 18:10
mentorNot Active15-Nov-09 18:10 
GeneralRe: Sintax problem Pin
Maxdd 715-Nov-09 18:23
Maxdd 715-Nov-09 18:23 
GeneralRe: Sintax problem Pin
Christian Graus15-Nov-09 19:41
protectorChristian Graus15-Nov-09 19:41 
GeneralRe: Sintax problem Pin
Christian Graus15-Nov-09 19:38
protectorChristian Graus15-Nov-09 19:38 
Questionbinding an arraylist to datalist and implement pagination in Presentation Layer [modified] Pin
uglyeyes15-Nov-09 12:16
uglyeyes15-Nov-09 12:16 
AnswerRe: binding an arraylist to datalist and implement pagination in Presentation Layer Pin
Abhishek Sur15-Nov-09 12:29
professionalAbhishek Sur15-Nov-09 12:29 
GeneralRe: binding an arraylist to datalist and implement pagination in Presentation Layer Pin
uglyeyes15-Nov-09 13:15
uglyeyes15-Nov-09 13:15 
GeneralRe: binding an arraylist to datalist and implement pagination in Presentation Layer Pin
Abhishek Sur15-Nov-09 21:15
professionalAbhishek Sur15-Nov-09 21:15 
Yes you will get the CurrentPageIndex, CountofPages, Nos of items in a single page etc from the object.

Use
PageSize = No of rows each page will contain (You need to set this)
PageCount = No of Pages.
CurrentPageIndex = Page that is called for.

etc.


uglyeyes wrote:
Total count: X and Page 1 of 7


Hey, if this is what you require, why do you need to build a custom html using PageDataSource, rather use DataPager control. It is easier to build these using <asp:DataPager

Check this :
http://msdn.microsoft.com/en-us/library/cc295263(Expression.30).aspx[^]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

AnswerRe: binding an arraylist to datalist and implement pagination in Presentation Layer Pin
Not Active15-Nov-09 12:32
mentorNot Active15-Nov-09 12:32 
QuestionLogin problem with ExecuteScalar(); Pin
Maxdd 715-Nov-09 11:09
Maxdd 715-Nov-09 11:09 
AnswerRe: Login problem with ExecuteScalar(); Pin
Abhishek Sur15-Nov-09 11:31
professionalAbhishek Sur15-Nov-09 11:31 
GeneralRe: Login problem with ExecuteScalar(); Pin
Not Active15-Nov-09 12:01
mentorNot Active15-Nov-09 12:01 
GeneralRe: Login problem with ExecuteScalar(); Pin
Abhishek Sur15-Nov-09 12:05
professionalAbhishek Sur15-Nov-09 12:05 
GeneralRe: Login problem with ExecuteScalar(); Pin
Not Active15-Nov-09 12:30
mentorNot Active15-Nov-09 12:30 
GeneralRe: Login problem with ExecuteScalar(); Pin
Maxdd 715-Nov-09 12:21
Maxdd 715-Nov-09 12:21 
GeneralRe: Login problem with ExecuteScalar(); Pin
Abhishek Sur15-Nov-09 12:24
professionalAbhishek Sur15-Nov-09 12:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.