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 why do we use the “using” statement?
Explain the difference between the stack and the heap?
How to write an MMC snap-in for my Windows service?
what is the meaning silverligt control
Describe the role of global.asax.
Explain difference between panel and groupbox classes using .net?
What is common language specification (cls)?
What does jit do?
How to get the hostname or IP address of the server?
Explain how com+ related to the dna architecture?
when web.config file is being called or referenced?tell me about the searialized procedure followed in page loading.
Explain the difference between task and thread in .net?