SteveInBeloit
Well-known member
- Joined
- May 22, 2006
- Messages
- 132
- Programming Experience
- 10+
HI,
I have a form with two datagridviews. I am adding a column to the second datagridview. I went to Edit Columns and clicked add, and set it as type comboBox.
For the data properties:
DataPropertyName: the column in the datagridview table that corresponds to the column in the other table I want to get the value from.
DataSource: drilled down to Other Data sources, project data source, then my databse, then clicked on the table I want to look the values up in.
displaymember: the actual description I want the user to see from the table above.
valuemember: the column in the table from above, not from the datagridview
when I run it, I get a system.formatException: DatagridviewcomboBox cell value is not valid
any thoughts?
I have a form with two datagridviews. I am adding a column to the second datagridview. I went to Edit Columns and clicked add, and set it as type comboBox.
For the data properties:
DataPropertyName: the column in the datagridview table that corresponds to the column in the other table I want to get the value from.
DataSource: drilled down to Other Data sources, project data source, then my databse, then clicked on the table I want to look the values up in.
displaymember: the actual description I want the user to see from the table above.
valuemember: the column in the table from above, not from the datagridview
when I run it, I get a system.formatException: DatagridviewcomboBox cell value is not valid
any thoughts?