By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

How to get the number of rows of a datagrid?

P: n/a
AA
Do any one know how to get the number of rows instead of the visbleRowCount
of a datagrid?

Thanks in advance!

Richard
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
AA
Solved.

[C#]
int numRows = dataGridDetails.BindingContext[dataGridDetails.DataSource,
dataGridDetails.DataMember].Count;

[VB.NET]
Dim numRows as Integer = i
dataGridDetails.BindingContext(dataGridDetails.Dat aSource,
dataGridDetails.DataMember).Count;

Quoted from http://www.syncfusion.com/FAQ/WinFor....asp?print=858


"AA" <AA@hotmail.com> wrote in message
news:eL**************@tk2msftngp13.phx.gbl...
Do any one know how to get the number of rows instead of the visbleRowCount of a datagrid?

Thanks in advance!

Richard

Nov 20 '05 #2

P: n/a
or dataGridDetails.VisibleRowCount
"AA" <AA@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Solved.

[C#]
int numRows = dataGridDetails.BindingContext[dataGridDetails.DataSource,
dataGridDetails.DataMember].Count;

[VB.NET]
Dim numRows as Integer = i
dataGridDetails.BindingContext(dataGridDetails.Dat aSource,
dataGridDetails.DataMember).Count;

Quoted from http://www.syncfusion.com/FAQ/WinFor....asp?print=858


"AA" <AA@hotmail.com> wrote in message
news:eL**************@tk2msftngp13.phx.gbl...
Do any one know how to get the number of rows instead of the

visbleRowCount
of a datagrid?

Thanks in advance!

Richard


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.