(sorry for my english...)
I have created a textbox where i take the number of textboxes that i must create...
i created the textboxes pressing a button whit this...
N = Convert.ToInt32(textBox1.Text); //N is a global variable...
ValoriText = new TextBox[N];
for (int i = 2; i <= N + 1; i++)
{
string textname = "textBox_f" + i;
TextBox txtTemp = new TextBox();
txtTemp.Location = new System.Drawing.Point(50, 200 + 26 * i);
txtTemp.Size = new System.Drawing.Size(200, 25);
txtTemp.Name = textname;
txtTemp.Width = 100;
this.Controls.Add(txtTemp);
}
well...after this i'd like to press another button and control that is write in the textboxxes(because i want only number) , and if these numbers are corrects, press another button and do the rest...
the problem is that i don't understand how i may do the second button because the valors are not passed from the first button where the textboxes was created...sorry again for my inglish...