Hello,
in my VB2005 project I have a form with a MySQLDataTable (like in the DataTable sample). How can I count the displayed results of a query so I can make a label on this form like "Query results: xxxxx rows" where xxxx is the count of rows displayed?
Thank you!!
How to count in DataTable displayed results from a query?
Here you are
Code: Select all
Label1.Text = MySqlDataTable1.Rows.Count.ToString
Last edited by Alexey on Tue 13 Jun 2006 13:46, edited 1 time in total.