Hi...
{
cbx = new ComboBox();
this.Controls.Add(cbx);
cbx.Visible = true;
cbx.Size = new Size(100, 21);
cbx.DataSource = col_Names;
cbx.Location = new Point(140, 71 + count * 50);
cbx.BackColor = Color.Linen;
cbx.ForeColor = Color.Indigo;
cbx.FlatStyle = FlatStyle.Popup;
cbx.Name = "cmbField" + count.ToString();
cby = new ComboBox();
this.Controls.Add(cby);
cby.Visible = true;
cby.Location = new Point(260, 71 + count * 50);
cby.Size = new Size(50, 30);
cby.Items.Add(">");
cby.Items.Add("<");
cby.Items.Add("=");
cby.BackColor = Color.Linen;
cby.ForeColor = Color.Indigo;
cby.FlatStyle = FlatStyle.Flat;
cby.Name = "cmbSign" + count.ToString();
textBoxArr = new TextBox();
this.Controls.Add(textBoxArr);
textBoxArr.Visible = true;
textBoxArr.Location = new Point(340, 72 + count * 50);
textBoxArr.Size = new Size(80, 20);
textBoxArr.BackColor = Color.Linen;
textBoxArr.ForeColor = Color.Indigo;
textBoxArr.Name = "tbCondition" + count.ToString();
btnRemove = new Button();
this.Controls.Add(btnRemove);
btnRemove.Location = new Point(435,71 + count * 50);
btnRemove.Size = new Size(70,23);
btnRemove.Text = "Remove";
btnRemove.BackColor = Color.PapayaWhip;
btnRemove.Click += new EventHandler(btnRemove_Click);
btnRemove.Name = "btnRemove" + count.ToString();
}
private void btnNext_Click(object sender, EventArgs e)
{
count = count + 1;
InitializeTableControl();
}