RadComboBox with images

Thread is closed for posting
2 posts, 0 answers
  1. Erik Assunção
    Erik Assunção avatar
    1 posts
    Member since:
    Jul 2009

    Posted 15 Jul 2009 Link to this post


    I've a RadComboBox wich is receiving data from database. I'd like know how to do for show images too?
    I'm use this code:

    Dim conn As New SqlCeConnection     
            Dim cmd As New SqlCeCommand     
            conn.ConnectionString = "datasource = " & System.AppDomain.CurrentDomain.BaseDirectory & "DSDB.sdf"    
            cmd.Connection = conn     
            cmd.CommandText = "Select Name from Visitas Where Enable = '1'"    
            Dim da As New SqlCeDataAdapter(cmd)     
            Dim dt As New DataTable     
            MDIParent1.RadComboBox1.DisplayMember = "Name"    
            MDIParent1.RadComboBox1.ValueMember = "ID"    
            MDIParent1.RadComboBox1.DataSource = dt   

    Thank you!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Jul 2009 Link to this post

    Hi Erik,

    Checkout the following documentation links which describes how to assign images to RadComboBox. I hope these links would be of help.
    Assigning Image Data From a Database
    Tutorial: Assign Image Data From Database

Back to Top