private void BindPartNobyAct() { cmb_partno.Items.Clear(); cmb_partno.AutoCompleteSource = AutoCompleteSource.ListItems; cmb_partno.AutoCompleteMode = AutoCompleteMode.SuggestAppend; if (activity == string.Empty) { return; } DataSet PartDS = PartType.PartNoData(activity, "07"); DataRow row = PartDS.Tables[0].NewRow(); row[0] = ""; PartDS.Tables[0].Rows.InsertAt(row, 0); cmb_partno.DataSource = PartDS.Tables[0].DefaultView; cmb_partno.DisplayMember = "part_no"; cmb_partno.ValueMember = "part_no"; cmb_partname.Items.Clear(); cmb_partname.AutoCompleteSource = AutoCompleteSource.ListItems; cmb_partname.AutoCompleteMode = AutoCompleteMode.SuggestAppend; DataSet PartNameDS = PartType.PartSpecData(activity, "07"); DataRow rowName = PartNameDS.Tables[0].NewRow(); rowName[0] = ""; PartNameDS.Tables[0].Rows.InsertAt(rowName, 0); cmb_partname.DataSource = PartNameDS.Tables[0].DefaultView; cmb_partname.DisplayMember = "part_spec"; cmb_partname.ValueMember = "part_no"; }