combobox and sqlite

Discussion in 'Questions (Windows Mobile)' started by dennishea, Mar 22, 2008.

  1. dennishea

    dennishea Active Member Licensed User

    How do you load one col of sqlite into combobox. Any suggestions welcome.


    Thanks in advance.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Something like: (Reader is a DataReader object and cmb is a ComboBox)
    cmd.CommandText = "SELECT col FROM table"
    Reader.Value = cmd.ExecuteReader
    Do While reader.ReadNextRow = True 
  3. dennishea

    dennishea Active Member Licensed User

    Thanks Erel.

    I was checking online and forgot about the help file in b4p. I've used commandtext and connection but not datareader yet. Thanks for reminding me about the 3rd object in sqldevice.dll.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice