Combo display & value [RESOLVED]
Hi All
Ive got a combo box which is being filled by a dataset i want to show the text value from one column but when a user makes their selection i want to pass over the datasets record Id rather than the text value (How is this done)
Heres the vb code for filling the combo
VB Code:
Private Sub Designer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim objData As New NewForestMortgagesAPP.DesignerDI.GetDI
Me.cboLetter.DisplayMember = "LetterName"
Me.cboLetter.DataSource = objData.GetDataSet.Tables(0)
End Sub
I just wana know the correct way of doing this ?
Many Thanks