Click here to Skip to main content
15,898,588 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: image beside url Pin
Aavesh Agarwal10-Oct-07 0:28
Aavesh Agarwal10-Oct-07 0:28 
AnswerRe: image beside url Pin
Tamimi - Code10-Oct-07 0:20
Tamimi - Code10-Oct-07 0:20 
GeneralRe: image beside url Pin
Priya S10-Oct-07 0:27
Priya S10-Oct-07 0:27 
QuestionPaging in GridView Pin
Pankaj Chamria9-Oct-07 23:56
Pankaj Chamria9-Oct-07 23:56 
AnswerRe: Paging in GridView Pin
Aavesh Agarwal10-Oct-07 0:04
Aavesh Agarwal10-Oct-07 0:04 
GeneralRe: Paging in GridView Pin
Pankaj Chamria10-Oct-07 0:17
Pankaj Chamria10-Oct-07 0:17 
GeneralRe: Paging in GridView Pin
Ahmad Adnan10-Oct-07 0:34
Ahmad Adnan10-Oct-07 0:34 
AnswerRe: Paging in GridView Pin
N a v a n e e t h10-Oct-07 0:34
N a v a n e e t h10-Oct-07 0:34 
Pankaj C wrote:
If my procedure at the first place did give the GridView all the 100 rows then why upon changing GRid Pages the procedure gets called again.


You should take a good book and learn how web pages works.

HTTP is a stateless protocol. Gridview fetches all the rows when it is binded at the very first time. When you press the next button on pager, entire page will be posted to the server which removes all the values binded on the last page. So it will fetch all those data again and bind it to grid view, Pageindex will be checked then and it moves to the page specified.

This will make performance issues when you are working with large set of data's. So I prefer to do custom paging always, by fetching required number of rows from DB.

Hope this helps


GeneralRe: Paging in GridView Pin
Pankaj Chamria10-Oct-07 0:43
Pankaj Chamria10-Oct-07 0:43 
GeneralRe: Paging in GridView Pin
N a v a n e e t h10-Oct-07 0:57
N a v a n e e t h10-Oct-07 0:57 
QuestionSend Email Pin
Mogha Ritesh9-Oct-07 23:47
Mogha Ritesh9-Oct-07 23:47 
AnswerRe: Send Email Pin
Aavesh Agarwal9-Oct-07 23:53
Aavesh Agarwal9-Oct-07 23:53 
AnswerRe: Send Email Pin
Spunky Coder9-Oct-07 23:55
Spunky Coder9-Oct-07 23:55 
GeneralRe: Send Email Pin
Mogha Ritesh10-Oct-07 0:12
Mogha Ritesh10-Oct-07 0:12 
AnswerRe: Send Email Pin
That's Aragon10-Oct-07 0:12
That's Aragon10-Oct-07 0:12 
Questionno numbers Pin
legend_of_zanado9-Oct-07 23:10
legend_of_zanado9-Oct-07 23:10 
AnswerRe: no numbers Pin
Aavesh Agarwal9-Oct-07 23:24
Aavesh Agarwal9-Oct-07 23:24 
AnswerRe: no numbers Pin
Christian Graus9-Oct-07 23:28
protectorChristian Graus9-Oct-07 23:28 
QuestionShopping Cart Project Pin
Montu769-Oct-07 23:01
Montu769-Oct-07 23:01 
AnswerRe: Shopping Cart Project Pin
Aavesh Agarwal9-Oct-07 23:20
Aavesh Agarwal9-Oct-07 23:20 
QuestionShopping Cart Project Pin
Montu769-Oct-07 23:01
Montu769-Oct-07 23:01 
AnswerRe: Shopping Cart Project Pin
Paddy Boyd9-Oct-07 23:18
Paddy Boyd9-Oct-07 23:18 
AnswerRe: Shopping Cart Project Pin
Christian Graus9-Oct-07 23:29
protectorChristian Graus9-Oct-07 23:29 
QuestionDatatable mismatch Pin
ShimnaMukundan9-Oct-07 22:51
ShimnaMukundan9-Oct-07 22:51 
AnswerRe: Datatable mismatch Pin
That's Aragon9-Oct-07 23:10
That's Aragon9-Oct-07 23:10 

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.