Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Go bottom
Message
De
05/11/2007 10:57:37
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
05/11/2007 09:23:40
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01266689
Message ID:
01266720
Vues:
10
Hi Sergio,

A datagrid and a cursor in foxpro cannot be compared. Since Go Bottom only just moves a pointer in a cursor it would have no affect on a data grid. If you need to scroll to the bottom of your datagrid to see the last record you could do something like this:
MyDataGrid.UnSelect(MyDataGrid.SelectedIndex);
MyDataGrid.CurrentRowIndex = MyDataGrid.Count -1;
MyDataGrid.Select(MyDataGrid.CurrentRowIndex);
Hope that helps.
Tim

>I have a datagridview bound to a dataset.
>I have inserted a new row in my dataset and I would like to go to the bottom of my dataset in order for my datagridview to see the latest inserted record.
>
>How do I go to the bottom of my dataset. In foxpro I would use :
>
>GO BOTTOM
>
>
>How do you do it in Dataset???
>
>Thanks
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform