I have built a Windows Form in VS2010, .NET 4. My project trolls through files, and when signifcant information is found, creates a row in a datatable. That all works fine.
I would like to have a label on the form show the number of records in the datatable, as they are added to the table. I have had lots of fun connecting datagrids to datatables and textboxes to values in a column for the current record in a bindingsource,
but this one eludes me when I thought it would be simpler. I think I know how to do this in code, but before I go down that track, I seem to feel this would be really easy in the designer. Is it possible?
I've created a BindingSource object connected to the datatable, but I cannot seem to get other than row values by assigning the DataSource of the Label to the BindingSource. I want the count so that when the other thread is updating the table, my form will
automatically update with it.