I want to add the header dynamically during runtime in grid view. I am implementing an attendance application where I want to show the report as absent or present for the last few days for a subject. 1 means present and 0 means absent. Please help me out to bind these dates as header during runtime these dates i am getting from database.
Name
|
17-03-2014
|
18-03-2014
|
20-03-2014
|
21-03-2014
|
22-03-2014
|
Rohit
|
0
|
1
|
1
|
1
|
1
|
Raj
|
0
|
1
|
1
|
1
|
0
|
Abhijit
|
0
|
1
|
0
|
1
|
1
|
Sonu Nigam
|
0
|
1
|
1
|
1
|
1
|
Arnold
|
0
|
0
|
1
|
0
|
0
|