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 Nothing permission set in .Net

1 Answers  


Explain the .net framework overview?

0 Answers  


How do you create threading in .NET? What is the namespace for that?

2 Answers  


Explain how viewstate is being formed and how it's stored on client in .net?

0 Answers  


differance between checkbox and rediobutton in vb.net?

1 Answers  


Explain the difference between garbage collections in .net 4.0 and earlier versions?

0 Answers  


Explain the difference between the while and for loop. Provide a .net syntax for both loops?

0 Answers  


What is a DLL?

1 Answers  


What base class do all Web Forms inherit from?

1 Answers  


What's singlecall activation mode used for in .net?

0 Answers  


What are remotable objects in .NET Remoting?

1 Answers  


What are the new 2.0 features useful for?

0 Answers  


Categories