Hi Mansvin,
I don't want to select the 10 last added rows and display them.
In fact, I have a winform that contains a datagrid and some textboxes that
allow the users to add datas to the datagrid.
My datagrid displays 10 rows and when the user adds more than 10 rows he can
not see the last row he added because
the scrollbar doesn't automatically move and he has to move manually the
scrollbar to see the last row he adds.
So, how can I avoid this ?
Stan
"msnews.microsoft.com" <ma******@hotmail.com> a écrit dans le message de
news:u1**************@TK2MSFTNGP10.phx.gbl...
Can you try using the Select Method to select the last added row ? that
way you would automatically have the last 10 rows displayed
HTH
Manasvin
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... Hi,
First, happy new year 2004 :-)
I have a datagrid that displays 10 rows.
I would like when I add new rows the datagrid automatically scrolls
showing the 10 last rows.
Currently, the new rows are added but I have to use the scroll bar to
see them.
Thanks for your suggestions.
Stan