What is PageIndex in DataGrid?What is the event used in the
Datagrid for while moving from one page to another page in
the Grid?write code for it
Answers were Sorted based on User's Feedback
Answer / gourav
Page index is to split the DataGrid in number of pages.
Code for paging is write in pageindexchanging event
gridview1.pageindex=e.newpageindex;
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / judy prasheela
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain assemblies in .net?
Will my .net app run on 64-bit windows?
What's the problem with .net generics?
How will you do redo and undo in textbox control?
What is MSIL, IL, CTS?
What does stateless mean?
Tell us the differences between an interface and an abstract class in .net?
Explain Creational design pattern in .NET?
What is .net3.0 and .net3.5?
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
What is Full trust permission set in .Net
If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?