Ok, that explanation does not match my description of "clearly", but I
think I get the idea of what you are trying to do.

As Vinay rightly advised, a nested control would be the way to go. To
add details to the presented solution, I would suggest the following:

1. Use a main GridView with three columns. The first is the Class and
the second contains a nested Repeater/DataList (Best bet: Datalist
with RepeatDirection - Horizontal). The third column is a ButtonField
that raises a Command event for the GridView.

2. On first render and on subsequent postbacks, the Repeater/Datalist
will bind to a collection of Section names (or Section objects, for
that matter). The collection increments each time the parent
GridView's Command event is invoked.

On Dec 3, 4:54 pm, Sruthi <[email protected]> wrote:
> let me tell clearly...
>
> Class   Sections
> I       A       B       C       D
> II      A       B       C
> III     A       B       C       D
>
> the class will be entered only once... and i need to add the sections.
> The sections is not limited...
> so for each class, sections has to be added..
> i have to add the classes and sections as above in gridview..
>
> if not let me know if  any other solution for this...
>
> On Dec 3, 3:40 pm, Cerebrus <[email protected]> wrote:
>
>
>
> > Severe lack of Detail.- Hide quoted text -
>
> - Show quoted text -

Reply via email to