How to manage pagination in a page?

Answer Posted / shiva

set allowpaging to true and you have to write some coding
in pageindexchanging event

GridView1.PageIndex = e.NewPageIndex;
binddata();

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference cookie and session?

745


What is intrinsic objects in asp.net?

879


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2589


What events will occur when a page is loaded?

822


Why session is used in asp.net?

762


Differentiate between structure and class.

762


What is the difference between executescalar and executenonquery?

727


What does the .webpart file do?

787


Explain code snippet to register exception filters from controller?

821


What is the full form of asp.net?

731


What is the caspol.exe tool used for?

755


What is jade template engine?

791


Define application state variable and session state variable?

787


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

788


If you are using components in your application, how can you handle exceptions raised in a component?

2311