www.webdeveloper.com
Results 1 to 2 of 2

Thread: Multiple input box insert - Help

  1. #1
    Join Date
    Oct 2005
    Posts
    23

    Exclamation Multiple input box insert - Help

    Hello Guys,

    Is there a way i can insert to database, multiple input box? this is what I want

    Math - [ input_box grade_math ] 'grade ex is 80
    English - [ input_box grade_english ]
    Ethics - [ input_box grade_ethics ]
    Physics - [ input_box grade_physics ]

    I want to loop this to insert to database.. just give me an idea using "vb .net asp"


    sorry for my english

  2. #2
    Join Date
    Oct 2005
    Posts
    23

    I get it..

    Dim Cols As String[] = (txt_math.value, txt_science.value, ... )

    For I = 0 to N
    ....
    ...
    .... SqlParameter.Value = Cols(I)

    Next

    I just like to share this

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles