Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How would you recommend updating (reloading) a bindingsource list and reloading a DataGridView?

$
0
0

Hi.  Retired, non-professional hobby enthusiast with severely limited coding skills.

I have a Windows Form which displays two datagridviews, each linking by datasource/bindingsource to separate tables using a project sql dataset.  They are for (single, fullrow) selection only to facilitate choosing information for entering data into another table.  Edit, Update, Delete capability is not enabled.  Other forms are available to update the underlying tables for these datagridviews.  My question has to do with how I reload the table data in these datagridviews whenever the user updates an underlying table and comes back to this "Main" form? 

I have tried both datagridview and bindingsource refresh, de-linking and re-linking datasource for the datagridviews upon form getfocus event, etc. but nothing seems to work.  Any ideas would be greatly appreciated.

Regards.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>