c# - How do you find the number of rows in a DataGrid using .net compact framework? -


How can you find the number of rows using the .NET Compact Structure in NetGrid

Try to query the bound reference of the data grid: DataGrid.BindingContext [DataGrid.DataSource]. Content

Or, data source is datatable and you know something about the data source, you can also try (DataTable) dataGrid1.DataSource). Rows.Count or equivalent.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -