A
Al Wilkerson
Hey,
I'm trying to populate a combBox in C# with values from an Access DB table.
myDataAdapter.Fill(myDS);
comboBox1.DataSource = myDS; // My dataSet
comboBox1.DataMember = "Compan Name"; // This is the column display
name
comboBox1.ValueMember = "CompanyName"; // This is the actual column name
that holds the values I want
Error message says: "Argument Exception: Could not bind to the new display
member. Parameter name: newDisplayMember"
What am I doing wrong ?
Thanks,
I'm trying to populate a combBox in C# with values from an Access DB table.
myDataAdapter.Fill(myDS);
comboBox1.DataSource = myDS; // My dataSet
comboBox1.DataMember = "Compan Name"; // This is the column display
name
comboBox1.ValueMember = "CompanyName"; // This is the actual column name
that holds the values I want
Error message says: "Argument Exception: Could not bind to the new display
member. Parameter name: newDisplayMember"
What am I doing wrong ?
Thanks,