にバインドされているValueMambera の forは何ですか?ComboBoxList<string>
Windows フォームと .NET Framework 4 を使用しています。
cmbForms.DataSource = Forms;
cmbForms.ValueMember="System.String";
if (!string.IsNullOrWhiteSpace(PhotoDescription.Details.Form))
{
cmbForms.SelectedValue = PhotoDescription.Details.Form;
}
どこFormsにある:
public List<string> Forms { get; set; }