<asp:GridView ID="grvCourseFeedback" runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField DataField="Question" HeaderText="Question" /> </Columns> <Columns> <asp:TemplateField HeaderText="Rating"> <ItemTemplate> <asp:RadioButtonList ID="rblRating1" runat="server" AppendDataBoundItems="False" RepeatDirection="Horizontal"> <asp:ListItem Text="V.Poor" Value="1"></asp:ListItem> <asp:ListItem Text="Poor" Value="2"></asp:ListItem> <asp:ListItem Text="Satisfactory" Value="3"></asp:ListItem> <asp:ListItem Text="Good" Value="4"></asp:ListItem> <asp:ListItem Text="V.Good" Value="5"></asp:ListItem> </asp:RadioButtonList></ItemTemplate></asp:TemplateField> <asp:TemplateField HeaderText="Comments"> <ItemTemplate> <asp:TextBox ID="txtcomments1" runat="server" TextMode="MultiLine"></asp:TextBox> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)