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?
What are the contents of assembly?
Explain me what is encapsulation?
What is the difference between imperative and interrogative code?
Please send me the latest asp.net,c#,sql server interview questions .my email id is ramtryin@gmail.com
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
what is the difference between early binding and late binding in .net?
what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?
what is GAC?
How many design patterns can be created in .net?
Is there any attempt system for microsoft technology papers?
What are the drawbacks for Model-View-Controller Architecture?