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 the difference between garbage collections in .net 4.0 and earlier versions?
Is .net is a language?
Explain the process of serialization in .NET?
What is the difference between reference type and value type?
How do you turn off cookies for one page in your site? Give an example.
What is Global Assembly Cache (GAC) and what is the Purpose of it?
Difference between Debugging and tracing in .net
What are use of Cloud computing....?
When displaying fonts, what is the difference between pixels, points and ems?
With these events, why wouldn't microsoft combine invalidate and paint, so that you wouldn't have to tell it to repaint, and then to force it to repaint?
What are the different types of Classes in .NET?
what is GAC?