I have a class which give me this error
public class Item
{
public string Name;
public int Id
public Item(string name, int id)
{
N
In my case I have solved this same problem by establishing the order in which I set the properties:
With ComboBoxPartNumber
.DisplayMember = "SuperSKU"
.ValueMember = "TareRequired"
.DataSource = _TblNP
.Enabled = True
.Refresh()
With
Here the _TblNP field is a global local field of type System.Data.DataTable.