日期:2014-05-18 浏览次数:20531 次
<asp:GridView ID="GridView5" runat="server" Width="100%" AutoGenerateColumns="False"> <Columns> <asp:TemplateField> <HeaderTemplate> <asp:Label ID="Label32" runat="server" Text="五、问答题(每题"> </asp:Label> <asp:Label ID="Label31" runat="server"> </asp:Label> <asp:Label ID="Label33" runat="server" Text="分)"> </asp:Label><br /> <br /> </HeaderTemplate> <ItemTemplate> <table id="Table6" cellspacing="1" cellpadding="1" width="100%" align="center" border="0"> <tr> <td> <asp:Label ID="Label33" runat="server" Text='<%# Container.DataItemIndex+1 %>'> </asp:Label> <asp:Label ID="Label34" runat="server" Text='<%# Eval("Title","、{0}") %>'> </asp:Label> <br /> <asp:TextBox ID="TextBox2" runat="server" Width="100%" TextMode="MultiLine"></asp:TextBox> <asp:Label ID="Label37" runat="server" Text='<%# Eval("Mark") %>' Visible="false"> </asp:Label> <asp:Label ID="Label44" runat="server" Text='<%# Eval("TitleID") %>' Visible="False"></asp:Label> </td> </tr> </table> </ItemTemplate> </asp:TemplateField> </Columns> <HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> </asp:GridView>
------解决方案--------------------