How do I change the collection of data and the table for this collection during the work of the form? I have a DataCollection called “primaryDc” on my form, dataGrid called “ouputTable” and ComboBox? that has 3 options. And depending on the selected option, I need DataCollection to load the data of the selected entity and change the display of the columns DataGrid to the corresponding collections.
I would suggest to add three grids and change the visibility depending on the selection
well guess this is good option