public UserControlOrder() { InitializeComponent(); SmartDeviceProjectBll.Bll.ConnecBll _bll = new SmartDeviceProjectBll.Bll.ConnecBll(); comboBox1.DataSource = _bll.GetDataTableOfOrder(); comboBox1.DisplayMember = "IBB001"; }
public Form3(string choiseCk) { InitializeComponent(); _bll = new SmartDeviceProjectBll.Bll.ConnecBll(); this.textBox3.Focus(); //comboBox1.DataSource = _bll.GetDataTableLotId(); //comboBox1.DisplayMember = "BAR007"; //comboBox1.SelectedIndex = -1; comboBox2.DataSource = _bll.GetDataTableOfOrder(); comboBox2.DisplayMember = "IBB001"; comboBox2.SelectedIndex = -1; this.choiseCk = choiseCk; }