I have label that displays the total number of records in my dataset. Now I want that count to change when I search for a specific record. My search is done by with the value from my txtLName textbox. How do I update my label with only the number of records returned in the search?
Here is the code that I am using on Form1_Load:
Me.lblRecords.Text = Me.SmartHouseDS1.Customers.Rows.Count
Here is the code that I am using on Form1_Load:
Me.lblRecords.Text = Me.SmartHouseDS1.Customers.Rows.Count