Combo box in vb.net windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arjunfour
    New Member
    • Sep 2007
    • 1

    Combo box in vb.net windows

    Hi,
    I am populating a combo box from a datatable.
    the datatable has 11 rows and i want to display only the first 3 rows in the combo box.
    Can anyone tell me how to proceed with this?
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by arjunfour
    Hi,
    I am populating a combo box from a datatable.
    the datatable has 11 rows and i want to display only the first 3 rows in the combo box.
    Can anyone tell me how to proceed with this?
    what is the problem??

    execute a simple loop...

    [CODE=vbnet]
    For i as Integer=0 to 2
    // populate combo here
    Next
    [/CODE]

    Comment

    • thiago777
      New Member
      • May 2007
      • 89

      #3
      I made a post about this a few days ago:

      http://www.thescripts. com/forum/thread710362.ht ml

      hope it helps!

      Comment

      Working...