Does anyone have the complete procedure to acomplish this?
I got part of it from a book ado.net core reference from David Sceppa, but I miss the samples.
It's about having the mainform display the datagridview while using the second form to change the details.
Sofar, what I have done is add a bindingsource component to the secondform and let it point to the dataset; set it's datamember to the table associated with the datagridview.
The individual controls point to the bindingsourcecomponent with the datamember set to a specific column.
Now it get's blurry
The mainform supposed to pass in an argument to a public EditDetail method in the second form so that the data from a specific row will be shown in the controls.
In other words, they have to be in sync.
How do I do that??
thanks in adv, Richard
I got part of it from a book ado.net core reference from David Sceppa, but I miss the samples.
It's about having the mainform display the datagridview while using the second form to change the details.
Sofar, what I have done is add a bindingsource component to the secondform and let it point to the dataset; set it's datamember to the table associated with the datagridview.
The individual controls point to the bindingsourcecomponent with the datamember set to a specific column.
Now it get's blurry
The mainform supposed to pass in an argument to a public EditDetail method in the second form so that the data from a specific row will be shown in the controls.
In other words, they have to be in sync.
How do I do that??
thanks in adv, Richard
Last edited: