Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I need to display data in gridView in the following format


Slot June July Aug Sep Oct Nov Dec Jan Feb Mar Apr May

1    Program 1 (throughout the year)

2    Program 2                              Program 3(December 20th)

3    Program 4 (throughout the year)

4    Program 5                Program 6( Oct 11th)


Months are the column names(June,July, etc)

and program rows are the records


Program can occupy the entire year or
multiple programs can be there in various months as shown in slot 2 and 4

is this possible for display in gridview or are there any jquery grids available for
this.

Datatable for binding to gridview for this would be

Slot FromDate Todate Programname

1 01/06/2014 31/05/2015 Program 1

2 01/06/2014 19/12/2014 Program 2

2 20/12/2014 31/05/2015 Program 3

3 01/06/2014 31/05/2015 Program 4

4 01/06/2014 10/10/2014 Program 5

4 11/10/2014 31/05/2015 Program 6

My main concern is how to perform colspan with the above dataset in gridview to achieve the desired results.

Please let know
Posted
Updated 30-Jun-14 2:52am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900