How to manage pagination in a page?

Answers were Sorted based on User's Feedback



How to manage pagination in a page?..

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

How to manage pagination in a page?..

Answer / bhavesh chhatrala

Using pagination option in DataGrid control. We have to set
the number of records for a page, then it takes care of
pagination by itself.

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Do you support digital rights management to protect my videos?

0 Answers  


What is a proxy in web service?

0 Answers  


Why mvc is faster than asp.net? : Asp.Net MVC

0 Answers  


What is the best Macanism to clear the Cache in asp.net

0 Answers   MCN Solutions,


What is sequence of code in retrieving data from database?

3 Answers   Accenture,






I M working in 1.1 .net framework. In a page I have 5 text box & 2 data grid. In PageLoad() All text box will populate with blank value & 1st dataGrid with some value. When I click on EDIT button Of the 1st dataGrid,The Relevent data Of the particular row will populate in first 3 textboxs & corresponding relevent data Will populate in the 2nd DataGrid. Now when I click 2nd datagrid's EDIT button of a perticular Row,relevent data will populate on last 2 textboxs & 1st 3 textbox's value will be same as per as it was........ ........My Problem Is ........... When I click on edit button Of 2nd DataGrid, 1st 3 text boxes values goes Off & 2nd DataGrid Is goes off Due to Postback.but The relevent value is populated In last 2 textboxes.So How I stoped this postback??So that all the data in 1st 3 textboxes will be same.So that I can edit the values of 2nd Grid with 1st 3 textBoxes value.. plz dirctly mail me 1 copy of post to... maloy.adhikari@in.com

2 Answers  


Describe SOA and the tenets of it?

0 Answers   Siebel,


How do I use response redirect?

0 Answers  


Why do we need url encoding?

0 Answers  


What is the difference between equals() and == in c#?

0 Answers  


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

0 Answers   MindCracker,


Explain what is clr?

0 Answers  


Categories