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 show data in horizontal form ......

how to show data in horizontal form ......

Scheduled Pinned Locked Moved ASP.NET
tutorial
8 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
    anujbanka1784
    wrote on last edited by
    #1

    i have three fields .... i want something like this image image image image name name name name i m using datalist wat this showing like this image name image name .... .... which control suit for my requirement.....

    C A A 3 Replies Last reply
    0
    • A anujbanka1784

      i have three fields .... i want something like this image image image image name name name name i m using datalist wat this showing like this image name image name .... .... which control suit for my requirement.....

      A Offline
      A Offline
      Alok Sharma ji
      wrote on last edited by
      #2

      can you put some code of it or you must better view the properties of it and by the way it provies you to change the column position.

      A 1 Reply Last reply
      0
      • A anujbanka1784

        i have three fields .... i want something like this image image image image name name name name i m using datalist wat this showing like this image name image name .... .... which control suit for my requirement.....

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

        A data list won't do that, you need to use a repeater to try to build a table that conforms to your data layout.

        Christian Graus Driven to the arms of OSX by Vista.

        A 1 Reply Last reply
        0
        • A anujbanka1784

          i have three fields .... i want something like this image image image image name name name name i m using datalist wat this showing like this image name image name .... .... which control suit for my requirement.....

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          As CG suggest, you can go for Repeater, or you can also use XSL.

          cheers, Abhijit CodeProject MVP

          1 Reply Last reply
          0
          • A Alok Sharma ji

            can you put some code of it or you must better view the properties of it and by the way it provies you to change the column position.

            A Offline
            A Offline
            anujbanka1784
            wrote on last edited by
            #5

            i am using this in my source <asp:DataList ID="DataList1" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"> <ItemTemplate> <tr> <td> <asp:Image ID="Image1" ImageUrl='<%#"~/Images/EmpOM/"+Eval("TE_VC50_EmpImg") %>' runat="server" Width="132" Height="160"/> <tr> <td> <%# Eval("TE_VC50_EmpName")%> </td> </tr> <tr> <td> <%# Eval("TE_VC50_EmpDesignation")%> </td> </tr> </td> </tr> </ItemTemplate> </asp:DataList><br /> wat should i change

            1 Reply Last reply
            0
            • C Christian Graus

              A data list won't do that, you need to use a repeater to try to build a table that conforms to your data layout.

              Christian Graus Driven to the arms of OSX by Vista.

              A Offline
              A Offline
              anujbanka1784
              wrote on last edited by
              #6

              actually i m binding dat from database and i have three fields... in rep data also come like that.. wat i want in one row..

              A C 2 Replies Last reply
              0
              • A anujbanka1784

                actually i m binding dat from database and i have three fields... in rep data also come like that.. wat i want in one row..

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                Check It[^]

                cheers, Abhijit CodeProject MVP

                1 Reply Last reply
                0
                • A anujbanka1784

                  actually i m binding dat from database and i have three fields... in rep data also come like that.. wat i want in one row..

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

                  OK, so do what I said.

                  Christian Graus Driven to the arms of OSX by Vista.

                  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