Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストボックスに何らかの値が入力されている場合、またはテキストボックスに IMEI no を入力した場合に、コンボボックスの値を入力する方法は、関連するフィールドに従ってコンボボックスを入力します。
私はこれを試しました
cmbSupplierName.DataSource = t.Tables[0]; cmbSupplierName.DisplayMember = "SupplierName"; cmbSupplierName.SelectedIndex = -1;