Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go bottom
Message
From
05/11/2007 10:57:37
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
05/11/2007 09:23:40
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Environment versions
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01266689
Message ID:
01266720
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform