Databound KryptonDataGridViewComboBoxColumn

Jul 13, 2013 at 12:47 PM
How would I implement a databound KryptonDataGridViewComboBoxColumn???
Jul 13, 2013 at 1:03 PM
I found this solution on the net:

TEXT

I converted it to C#; but I can't get it to work. It still shows the value in the cell and not the display member.
Coordinator
Jul 14, 2013 at 9:52 PM
Edited Jul 14, 2013 at 9:52 PM
Hi

I was facing to the same difficulty
I'm not sure if it is still the solution but that worked for me.
Take a look here :
http://www.componentfactory.com/forums/viewtopic.php?f=3&t=1454&hilit=combobox
Namespace DataBinding
    Public Class DataBindingElement

        Private mName As String 'ie En cours
        Private mCode As Integer 'ie 2

        Public Sub New(ByVal code As Integer, ByVal text As String)
            mName = text
            mCode = code
        End Sub

        Public Property Name() As String
            Get
                Return mName
            End Get
            Set(ByVal value As String)
                mName = value
            End Set
        End Property

        Public Property Code() As Integer
            Get
                Return mCode
            End Get
            Set(ByVal value As Integer)
                mCode = value
            End Set
        End Property
    End Class
End Namespace
Hope this helps !