how I am new to c# and I have a question
I have to create a form, it is of 2 pages so I created 2 different forms, now based on the database table, I have to fill few textboxes in form2 in order to overcome the exception of crashing as there are relationship between various tables.
My question is I need to write a code which denotes the textboxes in form1 when I click on the button on form 2 that saves all the values to the database.
I tried with this code but it did not work
form2 otherForm = new form2();
int tb = otherForm.TextBox6.Text;
can anybody help me on this ???