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 "common language specification" (cls) in .net?
What are situations when you register .NET assembly in GAC ?
What is LINQ?
What are the different types of assemblies?
How many types of generations are there in a garbage collector?
What is the advantage of .net core?
What is the use of Treeview control?
When we use windows api in .net is it managed or unmanaged code?
Explain what rare the types of jit and what is econo-jit?
Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?
what is dotnet architecture? can anyone explain that.
What is alias ? Is it used in .Net ?