here i am using Tabcontrol in windows forms
and i am write carry the textbox value one form to another form
like this but i am getting error
ss.Controls["textBox1"].Text = textBox2.Text;
ss.Controls["dateTimePicker1"].Text = Convert.ToString(dateTimePicker1.Value.Date);
ss.Controls["textBox6"].Text = textBox1.Text;
ss.Show();
please give me the ans..
please give me the ans..
Hemant SrivastavaPosted Nov 9, 2012, 3:23 PM
and in Form1, you want to show another Form "Form2" on some button click...
On Button Click Event of Form1, you need to write as:
I don't think, it would be a problem.