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
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to add multiple rows on the datatable.

How to add multiple rows on the datatable.

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasesysadminhelptutorial
3 Posts 3 Posters 0 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.
  • M Offline
    M Offline
    megivimal
    wrote on last edited by
    #1

    hi,, I'm new in .Net, any one help me... how to add multiple rows on the single datatable. without using SQL-Server. I need to add the multiple textbox values to the Datatable. Thanks.

    C A 2 Replies Last reply
    0
    • M megivimal

      hi,, I'm new in .Net, any one help me... how to add multiple rows on the single datatable. without using SQL-Server. I need to add the multiple textbox values to the Datatable. Thanks.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Why do you need to add rows to a data table without using SQL Server ? Is this a homework assignment ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • M megivimal

        hi,, I'm new in .Net, any one help me... how to add multiple rows on the single datatable. without using SQL-Server. I need to add the multiple textbox values to the Datatable. Thanks.

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        what are you exactly looking for. If datatable schema is defined use DataRow dr = dt.NewRow() then assign values to the fields of dr. Finally dt.Rows.add(dr); you are done. :rose:

        Abhishek Sur My Latest Articles Working with Excel using MDAC
        Basics on LINQ and Lambda Expressions
        Create .NET Templates

        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