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. Visual Basic
  4. Bind a data set in an HTML table

Bind a data set in an HTML table

Scheduled Pinned Locked Moved Visual Basic
questionhtmlhelp
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.
  • C Offline
    C Offline
    coolpali_girl
    wrote on last edited by
    #1

    Hi, i really need your help in this.. can i bind a data set in an html table not a datagrid? and how can i do so..i need examples. i've created a data adapter, data set, and a data reader, after that i tried to bind the the data in the html table but it's now working :confused: Thanks

    T 1 Reply Last reply
    0
    • C coolpali_girl

      Hi, i really need your help in this.. can i bind a data set in an html table not a datagrid? and how can i do so..i need examples. i've created a data adapter, data set, and a data reader, after that i tried to bind the the data in the html table but it's now working :confused: Thanks

      T Offline
      T Offline
      Tyquaun Hunter
      wrote on last edited by
      #2

      Why would you want bind to an HTML table and not a datagrid?

      C 1 Reply Last reply
      0
      • T Tyquaun Hunter

        Why would you want bind to an HTML table and not a datagrid?

        C Offline
        C Offline
        coolpali_girl
        wrote on last edited by
        #3

        Because i think the html table is more flexibe than a datagrid. i want to view my results like this: First Name DataBind Last Name DataBind Address DataBind (This is for one person) not like this: Column1 Column2 Column3 DataBind DataBind DataBind DataBind DataBind DataBind DataBind DataBind DataBind (This for more than one person) do you think i can do this with a datagrid?

        T 1 Reply Last reply
        0
        • C coolpali_girl

          Because i think the html table is more flexibe than a datagrid. i want to view my results like this: First Name DataBind Last Name DataBind Address DataBind (This is for one person) not like this: Column1 Column2 Column3 DataBind DataBind DataBind DataBind DataBind DataBind DataBind DataBind DataBind (This for more than one person) do you think i can do this with a datagrid?

          T Offline
          T Offline
          Tyquaun Hunter
          wrote on last edited by
          #4

          Yes, but you have to construct the datagrid yourself and not use the control that visual studio provides for you. Also, which probably makes more sense, is if you use a datareader and build the table yourself. This is much more efficient than a datagrid. Tyquaun

          M 1 Reply Last reply
          0
          • T Tyquaun Hunter

            Yes, but you have to construct the datagrid yourself and not use the control that visual studio provides for you. Also, which probably makes more sense, is if you use a datareader and build the table yourself. This is much more efficient than a datagrid. Tyquaun

            M Offline
            M Offline
            MalikRizwan
            wrote on last edited by
            #5

            You can use DataList for this purpose as and provide your data to be shown in ItemTemplate tag in html .. like this put it in ItemTemplate of DataList R A M

            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