binding list box to a datasource

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aaryan
    New Member
    • Nov 2006
    • 82

    binding list box to a datasource

    hi all,
    i have a small doubt. kindly clear it for me.
    i am using vb 6 . i want to bind my list box to ado control. i have set the connection string and the recordsource(se lect columna from table1). i have also set the datasoure (to adodc) and the datafield (to columna) for the list box.
    still the list box is not loaded with the relevant recordset at run time. just let me know if i missed out any essential thing that need to be done.
  • nams5114
    New Member
    • Dec 2006
    • 3

    #2
    Originally posted by aaryan
    hi all,
    i have a small doubt. kindly clear it for me.
    i am using vb 6 . i want to bind my list box to ado control. i have set the connection string and the recordsource(se lect columna from table1). i have also set the datasoure (to adodc) and the datafield (to columna) for the list box.
    still the list box is not loaded with the relevant recordset at run time. just let me know if i missed out any essential thing that need to be done.
    Try using dbList box ,it will work.
    Regards,
    namritha

    Comment

    • aaryan
      New Member
      • Nov 2006
      • 82

      #3
      Originally posted by nams5114
      Try using dbList box ,it will work.
      Regards,
      namritha
      hu,
      does that mean ordinary listbox cannot be bound to a datasource at all?

      Comment

      Working...