<asp:GridView ID="GridView1" runat="server" AllowPaging="True" PageSize="5" AutoGenerateColumns="False" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" DataKeyNames="PostDoubtID" DataSourceID="SqlDataSource1" GridLines="None" Width="918px"> <Columns> <asp:CommandField ShowDeleteButton="True" /> <asp:BoundField DataField="Topic" HeaderText="Topic" SortExpression="Topic" /> <asp:BoundField DataField="Subject" HeaderText="Subject" SortExpression="Subject" /> <asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" /> <asp:TemplateField HeaderText="Doubts In Detail"> <ItemTemplate> <asp:TextBox ID="TextBox1" runat="server" Height="76px" Text='<%# Bind("YourDoubt") %>' TextMode="MultiLine" Width="400px"></asp:TextBox> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Reply"> <ItemTemplate> <asp:Button ID="Button1" runat="server" Height="27px" onclick="Button1_Click1" Text="Reply" Width="65px" /> </ItemTemplate> </asp:TemplateField> </Columns> <FooterStyle BackColor="#C6C3C6" ForeColor="Black" /> <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" /> <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" /> <RowStyle BackColor="#DEDFDE" ForeColor="Black" /> <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" /> <SortedAscendingCellStyle BackColor="#F1F1F1" /> <SortedAscendingHeaderStyle BackColor="#594B9C" /> <SortedDescendingCellStyle BackColor="#CAC9C9" /> <SortedDescendingHeaderStyle BackColor="#33276A" /> </asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)