Does anyone happen to have a really simple automation whereby a number of results are added to a table, that's displayed back to the user on a windows form. For example, the demo I have looks at a folder and counts the number of files by file type, but I'd then like to display the result back on the windows form in a table rather than creating labels/text boxes.
Does anyone have something like this they could share please?
***Edited by Moderator: Lochan to update post title***
Here is a quick example. Use the TabelView on the UI to join the DataGridView to a LookupTable. If you do this though, you need to make sure all updates to the LookupTable are done off of a thread (and event) from the Windows Form (UI) or you will freeze your UI.
Are you able to explain though how I would add another column to the results and populate it (i.e. in your example, perhaps the last data modified)? I've tried a few things, but nothing seems to have worked.
You should be able to add a field into the Lookup Table tblFiles. That is connected to the grid via the TableView component. You might need to reset the Datasource property of the DataGridView to see it in design time after you've added the field to the table.