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 achieve this in GridView?

How to achieve this in GridView?

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

    I want to insert a row below the Header to put Maximum and Minimum value of every column. Please help... Thank you in advance!

    WIND
    DIR

    WIND
    SPEED
    (km/hr)

    AIR
    TEMP
    (C)

    AIR
    HUMIDITY
    (%)

    AIR
    PRES
    (millibars)

    RAIN
    AMT
    (mm)

    HOURLY
    (mm)

    RAIN
    DUR
    (sec.)

    RAIN
    INT
    (mm/hr)

    DATE
    TIME

    max: 5.70

    max: 30.40
    min: 23.60

    max: 90.20
    min: 64.70

    max: 994.02
    min: 990.02

    accum: 0.04
    date: 2011

    max: 30.00

    max: 0.00
    min: 0.00

    358

    3.2

    25.3

    85.4

    993.22

    0

    0

    0

    0.0

    2011-12-12 23:45:08

    357

    3.0

    25.3

    85.3

    993.22

    0

    0

    0

    0.0

    2011-12-12 23:30:09

    008

    3.0

    25.4

    85.2

    993.22

    0

    0

    0

    0.0

    2011-12-12 23:15:09

    350

    3.6

    25.5

    85.0

    993.35

    0

    0

    0

    0.0

    2011-12-12 23:00:08

    R W 2 Replies Last reply
    0
    • B bot666

      I want to insert a row below the Header to put Maximum and Minimum value of every column. Please help... Thank you in advance!

      WIND
      DIR

      WIND
      SPEED
      (km/hr)

      AIR
      TEMP
      (C)

      AIR
      HUMIDITY
      (%)

      AIR
      PRES
      (millibars)

      RAIN
      AMT
      (mm)

      HOURLY
      (mm)

      RAIN
      DUR
      (sec.)

      RAIN
      INT
      (mm/hr)

      DATE
      TIME

      max: 5.70

      max: 30.40
      min: 23.60

      max: 90.20
      min: 64.70

      max: 994.02
      min: 990.02

      accum: 0.04
      date: 2011

      max: 30.00

      max: 0.00
      min: 0.00

      358

      3.2

      25.3

      85.4

      993.22

      0

      0

      0

      0.0

      2011-12-12 23:45:08

      357

      3.0

      25.3

      85.3

      993.22

      0

      0

      0

      0.0

      2011-12-12 23:30:09

      008

      3.0

      25.4

      85.2

      993.22

      0

      0

      0

      0.0

      2011-12-12 23:15:09

      350

      3.6

      25.5

      85.0

      993.35

      0

      0

      0

      0.0

      2011-12-12 23:00:08

      R Offline
      R Offline
      Ramkumar_S
      wrote on last edited by
      #2

      Refere this it may help u.. <%-- --%>

      Project

      Description

      Amount

      <%# DataBinder.Eval(Container.DataItem, "Project")%>

      <%# DataBinder.Eval(Container.DataItem, "Trade")%>

      <%# DataBinder.Eval(Container.DataItem, "Amount")%>

      Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

      B 1 Reply Last reply
      0
      • R Ramkumar_S

        Refere this it may help u.. <%-- --%>

        Project

        Description

        Amount

        <%# DataBinder.Eval(Container.DataItem, "Project")%>

        <%# DataBinder.Eval(Container.DataItem, "Trade")%>

        <%# DataBinder.Eval(Container.DataItem, "Amount")%>

        Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

        B Offline
        B Offline
        bot666
        wrote on last edited by
        #3

        I don't get it "Haven't use repeater before", is there any way to achieve the sample I show here to create a Gridview with subHeader that I can put the Maximum value and Minimum value per column? :) The output I want is like if the user selected a date from and date to, it displays the value from date from to date to. Then I will insert First row(Sub header) to put the Maximum value and Minimum Value from the displayed value per column.

        1 Reply Last reply
        0
        • B bot666

          I want to insert a row below the Header to put Maximum and Minimum value of every column. Please help... Thank you in advance!

          WIND
          DIR

          WIND
          SPEED
          (km/hr)

          AIR
          TEMP
          (C)

          AIR
          HUMIDITY
          (%)

          AIR
          PRES
          (millibars)

          RAIN
          AMT
          (mm)

          HOURLY
          (mm)

          RAIN
          DUR
          (sec.)

          RAIN
          INT
          (mm/hr)

          DATE
          TIME

          max: 5.70

          max: 30.40
          min: 23.60

          max: 90.20
          min: 64.70

          max: 994.02
          min: 990.02

          accum: 0.04
          date: 2011

          max: 30.00

          max: 0.00
          min: 0.00

          358

          3.2

          25.3

          85.4

          993.22

          0

          0

          0

          0.0

          2011-12-12 23:45:08

          357

          3.0

          25.3

          85.3

          993.22

          0

          0

          0

          0.0

          2011-12-12 23:30:09

          008

          3.0

          25.4

          85.2

          993.22

          0

          0

          0

          0.0

          2011-12-12 23:15:09

          350

          3.6

          25.5

          85.0

          993.35

          0

          0

          0

          0.0

          2011-12-12 23:00:08

          W Offline
          W Offline
          www Developerof NET
          wrote on last edited by
          #4

          Are you are binding a DataTable to this gridview ? If yes, then add an extra DataRow with the appropriate data at the first position in the datatable.Hope that helps !!!

          When you fail to plan, you are planning to fail.

          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