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
Answer Posted / judy prasheela
protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e)
{
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are pdbs?
What's the .net collection class that allows an element to be accessed using a unique key?
Explain different types of html, web and server controls.
What does il do?
Explain how viewstate is being formed and how it's stored on client in .net?
Why inheritance is important?
what is machine key error in .NET how can we solve it?
What are the security policy levels in .Net
what are connection strings?
How do you instantiate a complex number?
How to load the contents of an xml file into an xmldocument object?
State the differences between the dispose() and finalize().
What are the different types of memory in .net?
What is "common language specification" (cls) in .net?
What is assemblies in .net?