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


Please Help Members By Posting Answers For Below Questions

Tell me about secure socket layer? How to make use of the technology?

774


What is difference between static page and dynamic page?

793


What are the new features of Framework 1.1 ?

4278


Explain how com+ related to the dna architecture?

780


Difference between value type & reference types ?

809


Which dll translate xml to sql in internet information server (iis)?

816


Can you edit data in repeater control? How?

751


What are the deferred execution and the immediate execution in linq?

793


Please explain what are an inheritance, polymorphism, and encapsulation?

845


How does cas works?

773


Describe the Managed Execution Process?

2268


what are connection strings?

2015


Explain the .net framework overview?

787


How can you turn-on and turn-off cas?

771


What's the problem with .net generics?

775