how to take data from one form to another
hiii friends i have two windows forms in both form one button and one textbox is there i want to call form2 from form 1 and after that i am entering data in textbox of form2 after clicking button of form 2 i want form 2 should be closed and in form1 textbox that data should come friends plzz help me in this
Jignesh TrivediPosted Aug 3, 2012, 3:26 AM
you can create parameterize constructor for form2 and pass your required data as parameter.
please refer
http://www.codeproject.com/Articles/14122/Passing-Data-Between-Forms
http://csharpnet.blogspot.in/2006/07/passing-data-between-forms-winforms.html
hope this will help you.
Farooque AliPosted Aug 3, 2012, 3:08 AM