Home Forums WinForms controls Other WinForms controls WinComboBox Data Binding

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18055 |

    Hi, can anyone help with the following;

    I’m a VB.NET user with a Windows Form containing a WinComboBox added via the designer.

    When I set the datasource to a working dataview (tested via the GridControl), the dropdown does not display anything; although it does display blank rows. It also does (null) as the value of the combo.

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    With Me.WinComboBox1
    .DataSource = Netdec.XBaseCore.main.storage.getDataView(“leas”)
    Me.GridControl1.DataSource = dv
    .DropDownControl.HeaderRows.Add(New Xceed.Grid.ColumnManagerRow)
    End With
    End Sub

    Cheers
    Kev

    Imported from legacy forums. Posted by Kevin (had 2172 views)

    User (Old forums)
    Member
    Post count: 23064

    I guess I need to update my version….
    “Package Version 2.0.5418.0 – September 1, 2005
    Fixed databinding problems setting a DataSource on a WinComboBox out of an init block.”

    🙂

    Imported from legacy forums. Posted by Kevin (had 3022 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.