I cannot get a combox box in a datagridview (Net 2.0) to work correctly using my NVL object using CSLA 1.5.
I try:
With Me.GridComboBox.DataSource = NVL.GetList.BindableList
.DisplayMember =
"Value".ValueMember =
"Key" End WithAll I get is an error 'Argument 'Prompt' cannot be converted to type string.
Thanks Richard
Richard,
In your NVL, what are the Key and Value types? My keys are almost always ints or guids, and my values are usually ints or strings. This type of binding works fine.
Jon - My Key is an int and the Value is a string.
What's really puzzling is that I can get a regular combo box to bind perfectly - I just get the error on a combo box in a datagrid.
Copyright (c) Marimer LLC