Creating a custom widget with a Forms.BindingSource

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I’m building a custom widget for displaying 2 dim data, much like Windows.Forms.DataGridView, and I want to use a Windows.Forms.BindingSource with it. There appears to be plenty of documentation about how to plumb up the data end of the source, and how to set up a single control (such as a TextBox) using a Binding. What I was more looking for was how the DataGridView reads and writes data directly out of the BindingSource. (As set by the property DataGridView.DataSource).
Has anyone a pointer to sample code for that?

Thanks

-Ken

View the full article
 
Back
Top