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. General Programming
  3. C#
  4. table web server control

table web server control

Scheduled Pinned Locked Moved C#
databasesysadminhelpquestion
4 Posts 2 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.
  • A Offline
    A Offline
    acodman
    wrote on last edited by
    #1

    Hi All, I have a table control that is dynamically populated from my db, my db has 3 rows and the 3 rows are displayed which is working fine. what I want to achieve is "I want the table control to display a separator after a record is displayed" what I mean is this: Assuming I have my 3 records displayed this way: A B C I want the table control to display a line separator like this A - B - C - can any one help me out please? thanks.

    G 1 Reply Last reply
    0
    • A acodman

      Hi All, I have a table control that is dynamically populated from my db, my db has 3 rows and the 3 rows are displayed which is working fine. what I want to achieve is "I want the table control to display a separator after a record is displayed" what I mean is this: Assuming I have my 3 records displayed this way: A B C I want the table control to display a line separator like this A - B - C - can any one help me out please? thanks.

      G Offline
      G Offline
      gauthee
      wrote on last edited by
      #2

      once you realize that a row is completed add a tr dynamically to your table, that way i guess you could get a seperator!!

      Gautham

      A 1 Reply Last reply
      0
      • G gauthee

        once you realize that a row is completed add a tr dynamically to your table, that way i guess you could get a seperator!!

        Gautham

        A Offline
        A Offline
        acodman
        wrote on last edited by
        #3

        thanks. But how do I add tr to a table control in code behind?

        G 1 Reply Last reply
        0
        • A acodman

          thanks. But how do I add tr to a table control in code behind?

          G Offline
          G Offline
          gauthee
          wrote on last edited by
          #4

          craete a tablerow like htmltablerow tr in your code, lets say your table id is table1 then table.add(tr) should do i guess!!!, syntax might be wrong!!!

          Gautham

          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