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 the model role in Mvc architecture?
is c#.net supports multiple inheritance?
Describe ways of cleaning up objects.
Define code access security (cas)?
What is a .DLL and .EXE files called in .NET?
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
What is new in .net core?
What are an object and a class?
What is lambda expressions in c#?
Resource Files: How to use the resource files, how to know which language to use?
How can we convert XML data into DataBase table IN .Net?
What is close method? How its different from finalize and dispose?