Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page through a DataView
Message
De
07/04/2005 18:06:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01002437
Message ID:
01002448
Vues:
16
>I have a DataGrid with a Default DataView of a Table in a DataSet as the DataSource. I allow the users sort the columns with that DataView and I allow them to see 10 rows initially; and I would like them to see the next set of < =10 rows if there are more by using navigation buttons.
>
>How should I do that?
>
>TIA

In PageIndexChanged event handler code something like:
private void myDataGrid_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
{
	myDataGrid.CurrentPageIndex = e.NewPageIndex;
	doDataBind();
}
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform