C
cashdeskmac
Hi,
I have a GridView that is going to show data based on office opening and
closing times. I would like to look at the opening and closing time and the
length of the time slots (15 mins, 20 mins, etc) and create the columns
dynamically.
I thought about creating a GridViewRowCollection and assigning it to the
GridView.Rows collection, but the Rows collection is readonly, so that
approach is out.
Is there any other way to generate columns at runtime?
I have a GridView that is going to show data based on office opening and
closing times. I would like to look at the opening and closing time and the
length of the time slots (15 mins, 20 mins, etc) and create the columns
dynamically.
I thought about creating a GridViewRowCollection and assigning it to the
GridView.Rows collection, but the Rows collection is readonly, so that
approach is out.
Is there any other way to generate columns at runtime?