Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Adding multiple records to a table.

Adding multiple records to a table.

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    udaykatakam
    wrote on last edited by
    #1

    hi I have 2 columns one is a textbox and other is a checkbox control. Data can be entered into the textbox and we can input through checkbox. I want to insert multiple ( for example 10 records/rows) into table. Can anyone suggest me a way to do it. Uday

    Uday

    A 1 Reply Last reply
    0
    • U udaykatakam

      hi I have 2 columns one is a textbox and other is a checkbox control. Data can be entered into the textbox and we can input through checkbox. I want to insert multiple ( for example 10 records/rows) into table. Can anyone suggest me a way to do it. Uday

      Uday

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      Use a loop? Your question doesn't really make any sense.

      Bob Ashfield Consultants Ltd

      U 1 Reply Last reply
      0
      • A Ashfield

        Use a loop? Your question doesn't really make any sense.

        Bob Ashfield Consultants Ltd

        U Offline
        U Offline
        udaykatakam
        wrote on last edited by
        #3

        Hi Bob, I have two input fields one is a textbox and a checkbox. I want take input from these two fields and populate a table.The thing is I am dynamically adding more textboxs and checkboxes to add multiple rows into the table much like any jobsite where u can add more experiences or educational qualifications dynamically. I hope I am clear now. I am able to add those to controls dynamically but I am not able to fetch values from them and populate the table. Uday

        Uday

        A 1 Reply Last reply
        0
        • U udaykatakam

          Hi Bob, I have two input fields one is a textbox and a checkbox. I want take input from these two fields and populate a table.The thing is I am dynamically adding more textboxs and checkboxes to add multiple rows into the table much like any jobsite where u can add more experiences or educational qualifications dynamically. I hope I am clear now. I am able to add those to controls dynamically but I am not able to fetch values from them and populate the table. Uday

          Uday

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #4

          udaykatakam wrote:

          I am able to add those to controls dynamically but I am not able to fetch values from them and populate the table.

          Well, if you create them you can get the values. All you need to do is iterate through the controls, select the ones you want, and insert the data into your table. I assume you know how to iterate through controls and insert data into the table.

          Bob Ashfield Consultants Ltd

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups