I have a form1 which contains datagridview and the button1(this form load the file which contains data on it). I then created a form2 to use it as a wizard to make it more usable.form2 contains button2 and textbox2.(button2 browse the file and textbox will populate the directory). when the user clicks button1, it will open up form2 and you browse the file and click finish button after browsing the file.
I want to the file you selected from form2 to load to be loaded on the form1. I don't have an idea on how I can do it.
was trying to do this, am just not sure how I can do. Thanks.
private List<form2> _Listcontrols;
private string _InputText;
private DataGridView _Gridview;