[2005]BindingList, is this the best solution
Hello,
I have a datagridview and have a combo box column. I am filling my combo box using the bindingsource. As follows:
Code:
Private Sub FillIncidents()
Try
Me.TA_Incident.Fill(Me.DsJobs.Incident)
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
The bindingsource has been configured in the designer.
Display member: Subject.
Value member: IncidentID
However, I want to be able to display a new record in the combo box. so that when the form loads it will display "None" if the user doesn't want to select an subject. So the user will have a choice to select any incident or if they don't want to select an incident, that can kept to the default of "None".
However, in my incident table, I don't have a record that will display "none" as a subject, I could enter a new record but I think that is not the best option.
Would it be easier to use the bindingList, and insert a new record with the value of none as the subject.
Many thanks for any advice,
Steve