VB.Net DataGridView change makes DataSource change

37 views Asked by At

I have some WinForms with DGVs. The last one I created has a different behavior. The others fill the tables with data imported via SQL query while this one fills importing json data from files. IN THEORY there would be no difference since they all set a DataTable content and then the DGV sets the DataSource with that DataTable.

Problem is this one table changes the DataSource when I change the DGV values. I could find no explanation nor solution for this but I ask you this: can this behavior be due to the other tables being imported from a DataSet->DataTable? This one does not use a DataSet. All these tables do NOT have bindings, just to be precise.

0

There are 0 answers