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. Custom DataGrid display

Custom DataGrid display

Scheduled Pinned Locked Moved ASP.NET
database
4 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.
  • S Offline
    S Offline
    SunsOfFun
    wrote on last edited by
    #1

    Hi All I want to link the data result set from the database, to a DataGrid. I want to display it other than just columns as it comes from the database. ie. The usual DataGrid format ------------------------------------------------------ Column Data | Column Data | Column Data | Column Data ------------------------------------------------------ I want to display like this: ------------------------------- Column Data | -------------| Column Data | Column Data -------------| Column Data | ------------------------------- Hope that makes sense. Thanks in advance.

    A V T 3 Replies Last reply
    0
    • S SunsOfFun

      Hi All I want to link the data result set from the database, to a DataGrid. I want to display it other than just columns as it comes from the database. ie. The usual DataGrid format ------------------------------------------------------ Column Data | Column Data | Column Data | Column Data ------------------------------------------------------ I want to display like this: ------------------------------- Column Data | -------------| Column Data | Column Data -------------| Column Data | ------------------------------- Hope that makes sense. Thanks in advance.

      A Offline
      A Offline
      asithangae
      wrote on last edited by
      #2

      You can do that, use Template Field columns in grid view and arrange the column data as needed. but you can bind the controls using server tags not by data field property. like Text='<%#DataBinder.Eval(DataBinder.GetDataItem(Container),"Key")%>' place you controls as needed here... Cheers asithangae

      1 Reply Last reply
      0
      • S SunsOfFun

        Hi All I want to link the data result set from the database, to a DataGrid. I want to display it other than just columns as it comes from the database. ie. The usual DataGrid format ------------------------------------------------------ Column Data | Column Data | Column Data | Column Data ------------------------------------------------------ I want to display like this: ------------------------------- Column Data | -------------| Column Data | Column Data -------------| Column Data | ------------------------------- Hope that makes sense. Thanks in advance.

        V Offline
        V Offline
        Venkatesh Mookkan
        wrote on last edited by
        #3

        Use FormView control.

        Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group

        1 Reply Last reply
        0
        • S SunsOfFun

          Hi All I want to link the data result set from the database, to a DataGrid. I want to display it other than just columns as it comes from the database. ie. The usual DataGrid format ------------------------------------------------------ Column Data | Column Data | Column Data | Column Data ------------------------------------------------------ I want to display like this: ------------------------------- Column Data | -------------| Column Data | Column Data -------------| Column Data | ------------------------------- Hope that makes sense. Thanks in advance.

          T Offline
          T Offline
          Tuwing Sabado
          wrote on last edited by
          #4

          Use repeater web server control. Regards, Mark

          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