DataGrid

  • Thread starter Thread starter Wayne Taylor
  • Start date Start date
W

Wayne Taylor

How can can I find out how may rows there are in my datagrid.

Thanks in advance.
 
Pulled this striaght from the Help files ....

Data sources are further managed by BindingManagerBase objects. For each
table in a data source, a BindingManagerBase can be returned from the form's
BindingContext. For example, you can determine the number of rows contained
by a data source by returning the associated BindingManagerBase object's
Count property

myBindingManagerBase.Position = myBindingManagerBase.Count - 1
 
Back
Top