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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top