Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Strange Issue With VB .NET Datagrid
I'm working on an application that uses a dataset containing four datatables and a single datagrid I use to display each of them as I need to see their contents. When the datagrid is displayed, I bind it's datasource attribute to the required datatable. On loading each of the tables, this works very well.
The problem I am seeing is that if I bring up table(0) or table(1) and then make changes to the datagrid directly, those changes are not carrying down to the connecting datatable. Also, if I make a change directly to table(0) or table(1) and then refresh the datagrid, I also do not see the changes.
What makes this even stranger is that if I then load either table(2) or table(3) (which are identical in design), they function as I would expect: changes to the dagarid carry directly to the connecting datatable and changes to the datatable are visible upon using refresh().
It almost appears as though the databinding between tables(0) and table(1) is getting broken immediately after the table is loaded into the datagrid (I can see the data in the grid upon loading, so I know for sure it gets atleast that far).
Anyone have an idea what could be causing this?
0 · ·