Language: C Sharp
In the MainForm
I have a datagridview
whose datasource
is a dataset
with a datatable
.
With a botón
the form2
is opened and in this a row number is chosen.
When accepting, the form2
must be closed and the number chosen by the user will be used as a row index to eliminate in dataset
of Main
I do not know how I can pass this information. I found how to go from form
to another using their instance names when creating them but the MainForm
runs alone, I do not know what name the instance has.