PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
last visible row of datagrid?
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
last visible row of datagrid?
![]() |
last visible row of datagrid? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello
How can I get the rownumber and the first column value of the last visible row in the Windows.Forms.DataGrid? Thank you Sincerely Lore |
|
|
|
#2 |
|
Guest
Posts: n/a
|
int count = dataGrid1.VisibleRowCount;
string strColumnData = dataGrid1[count-2,0].ToString(); I Take the count of the No of rows in the Datagrid and i go to the rowindex, column index of the datagrid and get the data i need Regards, Tarkeshwar ..Net Programmer Fifth Generation Technologies "Lore Leuneog" <Lore.Leuneog@gmx.net> wrote in message news:cloqg3$hu2$00$1@news.t-online.com... > Hello > > How can I get the rownumber and the first column value of the last visible > row in the Windows.Forms.DataGrid? > > Thank you > Sincerely > Lore > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

