private void groupBox1_Enter(object sender, EventArgs e) { DataTable dt = new DataTable(); dt = lc.getMembershipTypes(); typecb.DataSource = dt; typecb.ValueMember = dt.Columns[0].ToString(); typecb.DisplayMember = dt.Columns[1].ToString(); dt = new DataTable(); dt = lc.getMembershipTypes1(); typecb1.DataSource = dt; typecb1.ValueMember = dt.Columns[0].ToString(); typecb1.DisplayMember = dt.Columns[1].ToString(); typecb.Text = ""; typecb1.Text = ""; }