Results 1 to 3 of 3

Thread: ListView Question

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2001
    Posts
    759

    ListView Question

    Hi Everyone,

    I have added check boxes to the first column in a ListView. What I would like to do is this, when a user selects or deselects any one of the check boxes in the column I want a sql statement to execute. Any ideas on how to do this? I would appreciate any help. Thanks.

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Just use the ItemCheck event.
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    VB Code:
    1. Private Sub ListView1_ItemCheck(ByVal Item As MSComctlLib.ListItem)
    2.   MsgBox Item.Text
    3.   'code to do something here
    4. End Sub
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width