The idea is to make DataGrid contains a field of type combobox it have another data source to choose from those and save data in the DataGrid , this is possible and without any problems..
But when make Parameters to filter data in the combobox and when i try add records have different Parameters ,, error will appears.
An example may not be logical, but I hope that shows what I mean
My first piece of advice is to turn on "Option Strict"
Right-Click Project in Solution Explorer -> Select Properties (last item on context menu)
Select Compile Tab -> "Option Strict" -> click dropdown and select "On"
Rebuild your application, resolve those 2 errors regarding implicit type conversions and see what happens.
The error I see is DataGridViewComboBoxCell value is not valid, is that the same error you get?
The default error message also says to handle the data error event, did you do that? If not, add this code to Form1.vb
Private Sub StudentsDataGridView_DataError(ByVal sender As Object, _
ByVal e As DataGridViewDataErrorEventArgs) _
If e.Exception IsNot Nothing Then