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
Describe the difference between inline and code behind which is best in a loosely coupled solution?
How to implement getcommon method in class a? Are you seeing any problem in the implementation?
What's the use of system.diagnostics.process class in .net?
Do you know what is lambda expressions in c#?
Explain what is the difference between odbc and ado?
How do you turn off cookies for one page in your site? Give an example.
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
Write the .net syntax for 'for loop'?
Tell us what is the difference between struct and class?
Can a try block have more than one catch block?
How viewstate is being formed and how it is stored on client in .net?
Why did they call it .net?
What do you mean by Driver Script?
Explain the different parts of an assembly?
What are the different types of Classes in .NET?