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. Bind data into HTML server table control

Bind data into HTML server table control

Scheduled Pinned Locked Moved ASP.NET
htmldatabasesql-serversysadmintutorial
5 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.
  • N Offline
    N Offline
    nesaraja
    wrote on last edited by
    #1

    Hi all, How to bind the records from sql server tables and display into the HTML table control. The data should be displayed in the HTML table with all features of datagrid(paging,edit and delete and go to page No).Simply with out using the datagrid. Pls suggest me with some sample codings. Thakx Paul Paul

    M H 2 Replies Last reply
    0
    • N nesaraja

      Hi all, How to bind the records from sql server tables and display into the HTML table control. The data should be displayed in the HTML table with all features of datagrid(paging,edit and delete and go to page No).Simply with out using the datagrid. Pls suggest me with some sample codings. Thakx Paul Paul

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi Paul, The html table control does not support data binding like a data-bound control such as datagrid, datalist ..., so if you want to use the html table, you need to walk through the record collection of the datasource, then build each row (tr) for the table. Also you also need to manage all the built-in features of the datagrid control like paging, sorting ....it seems overhead to you. So I'm curious that why you don't just use the datagrid control.

      N 1 Reply Last reply
      0
      • M minhpc_bk

        Hi Paul, The html table control does not support data binding like a data-bound control such as datagrid, datalist ..., so if you want to use the html table, you need to walk through the record collection of the datasource, then build each row (tr) for the table. Also you also need to manage all the built-in features of the datagrid control like paging, sorting ....it seems overhead to you. So I'm curious that why you don't just use the datagrid control.

        N Offline
        N Offline
        nesaraja
        wrote on last edited by
        #3

        Thnak you for your suggession. But I am trying to do the datagrid functionalty to the html table. THanks you again By Paul Paul

        1 Reply Last reply
        0
        • N nesaraja

          Hi all, How to bind the records from sql server tables and display into the HTML table control. The data should be displayed in the HTML table with all features of datagrid(paging,edit and delete and go to page No).Simply with out using the datagrid. Pls suggest me with some sample codings. Thakx Paul Paul

          H Offline
          H Offline
          HimaBindu Vejella
          wrote on last edited by
          #4

          Y don't u use DataGrid/List? "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshers http://himabinduvejella.blogspot.com

          N 1 Reply Last reply
          0
          • H HimaBindu Vejella

            Y don't u use DataGrid/List? "Aim to go where U have never been B4 and Strive to achieve it" http://groups.yahoo.com/subscribe/dotnetforfreshers http://himabinduvejella.blogspot.com

            N Offline
            N Offline
            nesaraja
            wrote on last edited by
            #5

            I am tring the code to develop without datagrid/list? Is it possible to do the same using HTMl Controls?? Paul

            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