checkboxes in visual basic

Discussion in 'Programming General' started by michkyutie, Dec 29, 2008.

checkboxes in visual basic
  1. Unread #1 - Dec 29, 2008 at 1:05 AM
  2. michkyutie
    Joined:
    Dec 29, 2008
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    michkyutie Newcomer

    checkboxes in visual basic

    i am using visual basic 2005 express edition; and still a newbie since it only introduced this year. i have a database. my form had checkboxes. now, i am using odbc connection..using insert into statement..my question is, how do i get the value of the checked checkboxes and insert them in my table using that insert into statement? how do i include those values to my other fields? please help me out of here. i know, this is just a simple question but i am not that familaiar with visual basic. any help will be highly appreciated. thank you.
     
  3. Unread #2 - Mar 11, 2009 at 12:00 AM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    checkboxes in visual basic

    Something like this?
    Code:
    Dim i As String
    If CheckBox1.Checked = True Then
    
    i = "sql something or other here"
    
    'SQL code to insert value of i (whatever it is you made it)
    
    End If
    
     
< Find bitmap in bitmap | make a script compiler/execution thingy >

Users viewing this thread
1 guest


 
 
Adblock breaks this site