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 "common language specification" (cls) in .net?

0 Answers  


What are situations when you register .NET assembly in GAC ?

0 Answers   UGC Corporation,


What is LINQ?

2 Answers   Ethos, MSP, TCS,


What are the different types of assemblies?

3 Answers  


How many types of generations are there in a garbage collector?

0 Answers  


What is the advantage of .net core?

0 Answers  


What is the use of Treeview control?

0 Answers   CGI,


When we use windows api in .net is it managed or unmanaged code?

0 Answers  


Explain what rare the types of jit and what is econo-jit?

0 Answers  


Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?

0 Answers  


what is dotnet architecture? can anyone explain that.

1 Answers  


What is alias ? Is it used in .Net ?

0 Answers   MCN Solutions,


Categories