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. Create dynamic table

Create dynamic table

Scheduled Pinned Locked Moved C#
databasehelp
6 Posts 4 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
    Agweet
    wrote on last edited by
    #1

    Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.

    living life on the flip side

    L D R 3 Replies Last reply
    0
    • A Agweet

      Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.

      living life on the flip side

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Agweet wrote:

      i wanna create a dynamic table

      Why? That would be something that a stored procedure might do but not an application.

      led mike

      A 1 Reply Last reply
      0
      • L led mike

        Agweet wrote:

        i wanna create a dynamic table

        Why? That would be something that a stored procedure might do but not an application.

        led mike

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

        i am going to use the table and insert it into an email so that the user can view newly added data

        living life on the flip side

        L 1 Reply Last reply
        0
        • A Agweet

          i am going to use the table and insert it into an email so that the user can view newly added data

          living life on the flip side

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Agweet wrote:

          i am going to use the table and insert it into an email so that the user can view newly added data

          That's not a complete enough description of your requirements for me to understand. For example: "newly added data" is an ambiguous statement. Good luck

          led mike

          1 Reply Last reply
          0
          • A Agweet

            Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.

            living life on the flip side

            D Offline
            D Offline
            dan sh
            wrote on last edited by
            #5

            Agweet wrote:

            Account Name Date AccountName UserName UserDate

            Are you sure your table is going to have this structure? You can create a datatable object and manually insert all this into it.

            "If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry

            1 Reply Last reply
            0
            • A Agweet

              Hi all.. can anyone help me..i am retrieving data from sql in a dataset, i wanna create a dynamic table to place the values in. the table must look as follows: Account Name Date AccountName UserName UserDate the first row is normal text inserted by me, the second row is retrieved from the dataset...can anyone plz assist me on this.

              living life on the flip side

              R Offline
              R Offline
              Roney
              wrote on last edited by
              #6

              Particularly in dataset we can't.But of ur requirement is dynamically display the data right,so you go< for Gridview control and set AutogenretedColumns=false.Then u go designing or write TemplateField in the below of <column> tag ..there is you write whatever columns field you want ok. like ex: <templatefield headertext=colName field="<%Eval(originalcolumnfield)%>"> If u know well otherwise i can't

              modified on Tuesday, October 7, 2008 3:06 PM

              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