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  


What are the contents of assembly?

4 Answers  


Explain me what is encapsulation?

0 Answers  


What is the difference between imperative and interrogative code?

0 Answers  


Please send me the latest asp.net,c#,sql server interview questions .my email id is ramtryin@gmail.com

1 Answers  


If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

0 Answers  


what is the difference between early binding and late binding in .net?

2 Answers   Satyam,


what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?

3 Answers  


what is GAC?

1 Answers   Manhattan,


How many design patterns can be created in .net?

0 Answers  


Is there any attempt system for microsoft technology papers?

0 Answers  


What are the drawbacks for Model-View-Controller Architecture?

1 Answers  


Categories