Click here to Skip to main content
15,891,253 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: image beside url Pin
Aavesh Agarwal10-Oct-07 0:07
Aavesh Agarwal10-Oct-07 0:07 
GeneralRe: image beside url Pin
Priya S10-Oct-07 0:17
Priya S10-Oct-07 0:17 
GeneralRe: image beside url Pin
N a v a n e e t h10-Oct-07 0:26
N a v a n e e t h10-Oct-07 0:26 
GeneralRe: image beside url Pin
Priya S10-Oct-07 0:59
Priya S10-Oct-07 0:59 
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 
Hi, I have a aspx page with a GridView with Paging and Sorting enabled.
I opened a SQL Profiler to check at what times the stored procedure which fetches data to bind to GridView is being called.

When I go to another page and come back to the GridView page then the procedure does not get called. But when I use the paging feature of the GridView and try to see next 10 records on the second page of GridView, my profiler shows a call to the stored procedure which always returns say 100 rows.

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.

NOTE: I have bound the GridView using SqlDataSource.




Pankaj Chamria,
Software Programmer.

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 
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 

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.