How to achieve this in GridView?
-
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
DIRWIND
SPEED
(km/hr)AIR
TEMP
(C)AIR
HUMIDITY
(%)AIR
PRES
(millibars)RAIN
AMT
(mm)HOURLY
(mm)RAIN
DUR
(sec.)RAIN
INT
(mm/hr)DATE
TIMEmax: 5.70
max: 30.40
min: 23.60max: 90.20
min: 64.70max: 994.02
min: 990.02accum: 0.04
date: 2011max: 30.00
max: 0.00
min: 0.00358
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
-
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
DIRWIND
SPEED
(km/hr)AIR
TEMP
(C)AIR
HUMIDITY
(%)AIR
PRES
(millibars)RAIN
AMT
(mm)HOURLY
(mm)RAIN
DUR
(sec.)RAIN
INT
(mm/hr)DATE
TIMEmax: 5.70
max: 30.40
min: 23.60max: 90.20
min: 64.70max: 994.02
min: 990.02accum: 0.04
date: 2011max: 30.00
max: 0.00
min: 0.00358
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
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
-
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
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.
-
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
DIRWIND
SPEED
(km/hr)AIR
TEMP
(C)AIR
HUMIDITY
(%)AIR
PRES
(millibars)RAIN
AMT
(mm)HOURLY
(mm)RAIN
DUR
(sec.)RAIN
INT
(mm/hr)DATE
TIMEmax: 5.70
max: 30.40
min: 23.60max: 90.20
min: 64.70max: 994.02
min: 990.02accum: 0.04
date: 2011max: 30.00
max: 0.00
min: 0.00358
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
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.