Board index » Visual Studio » How to get the number of rows of a datagrid?
|
Aimee
|
|
Aimee
|
How to get the number of rows of a datagrid?
Visual Studio319
Do any one know how to get the number of rows instead of the visbleRowCount of a datagrid? Thanks in advance! Richard - |
| AA
Registered User |
Sun Aug 01 13:32:25 CDT 2004
Re:How to get the number of rows of a datagrid?
Solved.
[C#] int numRows = dataGridDetails.BindingContext[dataGridDetails.DataSource, dataGridDetails.DataMember].Count; [VB.NET] Dim numRows as Integer = i dataGridDetails.BindingContext(dataGridDetails.DataSource, dataGridDetails.DataMember).Count; Quoted from http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp?print" rel="nofollow" target="_blank">www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp=858 "AA" <AA@hotmail.com>wrote in message QuoteDo any one know how to get the number of rows instead of the - |
| Carl
Registered User |
Sun Aug 01 14:20:29 CDT 2004
Re:How to get the number of rows of a datagrid?
or dataGridDetails.VisibleRowCount
"AA" <AA@hotmail.com>wrote in message QuoteSolved. - |
