Click here to Skip to main content
15,890,282 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Calling non-static method from static webmethod Pin
N a v a n e e t h17-Aug-09 8:44
N a v a n e e t h17-Aug-09 8:44 
GeneralRe: Calling non-static method from static webmethod Pin
DotNetXenon17-Aug-09 9:29
DotNetXenon17-Aug-09 9:29 
GeneralRe: Calling non-static method from static webmethod Pin
Christian Graus17-Aug-09 11:57
protectorChristian Graus17-Aug-09 11:57 
QuestionFocus Issue Due to AJAX Refresh Pin
platso_58817-Aug-09 5:37
platso_58817-Aug-09 5:37 
QuestionHow to calculate number of lines? Pin
Gaurav Aroraa17-Aug-09 3:19
professionalGaurav Aroraa17-Aug-09 3:19 
AnswerRe: How to calculate number of lines? Pin
Blue_Boy17-Aug-09 3:31
Blue_Boy17-Aug-09 3:31 
GeneralRe: How to calculate number of lines? Pin
Gaurav Aroraa19-Aug-09 3:07
professionalGaurav Aroraa19-Aug-09 3:07 
AnswerUse integer division Pin
David Mujica17-Aug-09 4:02
David Mujica17-Aug-09 4:02 
I think I understand your question.

Let's say you read 100 lines from your database and you want to display them on a page with a maximum of 60 lines per page.

Try something like this:

Lines = 100
Page = 0
PageSize = 60

While Lines > PageSize
  Page = Page + 1
  ... Load your HTML PageData ...
  Lines = Lines - (PageSize)
End

Page = Page + 1

GeneralRe: Use integer division Pin
Gaurav Aroraa19-Aug-09 3:13
professionalGaurav Aroraa19-Aug-09 3:13 
QuestionText reterival from dynamic HTML textbox Pin
VarunPrakash17-Aug-09 2:56
VarunPrakash17-Aug-09 2:56 
QuestionGetting crazy with datalist control within update panel Pin
Ersan Ercek17-Aug-09 2:04
Ersan Ercek17-Aug-09 2:04 
AnswerRe: Getting crazy with datalist control within update panel Pin
Ersan Ercek17-Aug-09 2:14
Ersan Ercek17-Aug-09 2:14 
GeneralRe: Getting crazy with datalist control within update panel Pin
Coding C#17-Aug-09 2:22
Coding C#17-Aug-09 2:22 
GeneralRe: Getting crazy with datalist control within update panel Pin
Ersan Ercek17-Aug-09 2:42
Ersan Ercek17-Aug-09 2:42 
AnswerRe: Getting crazy with datalist control within update panel Pin
Ersan Ercek17-Aug-09 3:51
Ersan Ercek17-Aug-09 3:51 
Questionsession Pin
mylogics17-Aug-09 1:50
professionalmylogics17-Aug-09 1:50 
AnswerRe: session Pin
Coding C#17-Aug-09 2:04
Coding C#17-Aug-09 2:04 
AnswerRe: session Pin
Ersan Ercek17-Aug-09 2:10
Ersan Ercek17-Aug-09 2:10 
AnswerRe: session Pin
Abhijit Jana17-Aug-09 9:51
professionalAbhijit Jana17-Aug-09 9:51 
Questionhelp me regarding timer countdown on asp.net page using c# Pin
saiftanoli17-Aug-09 1:23
saiftanoli17-Aug-09 1:23 
AnswerRe: help me regarding timer countdown on asp.net page using c# Pin
Abhishek Sur17-Aug-09 6:11
professionalAbhishek Sur17-Aug-09 6:11 
AnswerRe: help me regarding timer countdown on asp.net page using c# Pin
saiftanoli17-Aug-09 18:36
saiftanoli17-Aug-09 18:36 
Questionweb page designing Pin
kavinnagarajan17-Aug-09 1:10
kavinnagarajan17-Aug-09 1:10 
AnswerRe: web page designing Pin
Ashfield17-Aug-09 1:36
Ashfield17-Aug-09 1:36 
Generalweb page designing Pin
kavinnagarajan17-Aug-09 1:40
kavinnagarajan17-Aug-09 1:40 

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.