Add checkbox in listbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucky13
    New Member
    • Aug 2007
    • 24

    Add checkbox in listbox

    Hello To all,

    i want to call certain data in listbox but along with the checkbox. i have a sql query to call the data from my sql database , but problem is that how can i call with the chckbox

    Regards,
    Lucky13
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by lucky13
    Hello To all,

    i want to call certain data in listbox but along with the checkbox. i have a sql query to call the data from my sql database , but problem is that how can i call with the chckbox

    Regards,
    Lucky13
    You can use List view control.

    Comment

    • lucky13
      New Member
      • Aug 2007
      • 24

      #3
      Originally posted by hariharanmca
      You can use List view control.
      Thanks for the soultion, but can i able add the data in the list along with the checkbox by using LOOP.


      Regards,
      Lucky13

      Comment

      • csenasa
        New Member
        • Sep 2007
        • 10

        #4
        Originally posted by lucky13
        Thanks for the soultion, but can i able add the data in the list along with the checkbox by using LOOP.


        Regards,
        Lucky13

        try out this ,use a listbox control, and in properties set style to 1-checkbox,
        jus add theitems to the list using additems method,..

        Comment

        • lucky13
          New Member
          • Aug 2007
          • 24

          #5
          Originally posted by csenasa
          try out this ,use a listbox control, and in properties set style to 1-checkbox,
          jus add theitems to the list using additems method,..
          thanks for the solution. i tried as u have sugguested but the thing is that i want two or more column in that list, can u please help me for this?

          Comment

          Working...