Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



What is PageIndex in DataGrid?What is the event used in the Datagrid for while moving from one page..

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

What is PageIndex in DataGrid?What is the event used in the Datagrid for while moving from one page..

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

Post New Answer

More Dot Net General Interview Questions

What is the model role in Mvc architecture?

3 Answers  


is c#.net supports multiple inheritance?

10 Answers  


Describe ways of cleaning up objects.

2 Answers   Wipro,


Define code access security (cas)?

0 Answers  


What is a .DLL and .EXE files called in .NET?

0 Answers   CitiusTech,


How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?

0 Answers  


What is new in .net core?

0 Answers  


What are an object and a class?

0 Answers  


What is lambda expressions in c#?

0 Answers  


Resource Files: How to use the resource files, how to know which language to use?

1 Answers  


How can we convert XML data into DataBase table IN .Net?

3 Answers   Indus Media, Wipro,


What is close method? How its different from finalize and dispose?

0 Answers  


Categories