So I tried asking this on another forum with no luck. I can provide only so much code as it is proprietary software. Basically I have a tab control on my form, it has 2 tabs, each tab has it's own datagridview on it. I am grabbing data from the database putting it in a datatable and doing a few things namely removing a couple of columns from one and adding some buttons to the other one. None of what I have done so far causes the issue. I am also freezing a single column in each (they are the same column and data from the Datatable). The freeze function works great when I click my button to import the data to the datagridviews everything is a ok. However when I close the form and open it again the data (which is still saved in the database) is being grabbed again to load the two datagridviews, the one on tab 1 loads fine the one on the second tab only shows 3 columns (and not even including the frozen one, there should be approximately 26 columns) and it is also not showing any data. It just shows the 3 column headers and nothing else. I don't get an error message or anything, just no data.
Is this a glitch with the datagridview or is there something else that needs to be done to freeze the same column in 2 datagridviews?
If you need the basic code for this I can provide it but really it is just the call to the frozen option the second time that breaks it. If I comment out that line the first grid loads fine while the second loads albeit without the frozen column.