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 |
What is a serviced component?
What are the different types of remote object creation mode in .net?
What are the benefits of Model-View-Controller Architecture?
Explain the difference between vb and vb.net?
What is .net debug & trace?
What are object pooling and connection pooling and difference?
Who is using .net core?
What is a strategy pattern? Implement it.
what are the Goals of the UIP Application Block?
Explain me what is .net web service?
What is use of ContextUtil class?
How to get the number after decimal point in .net?