You are on page 1of 1

<tr> <td colspan="3" align="center"> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2">

<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" /> <Columns> <asp:BoundField DataField="Department" HeaderText="Department" SortExpression="Department" /> <asp:BoundField DataField="Standard" HeaderText="Standard" SortExpression="Standard" /> <asp:BoundField DataField="Semester" HeaderText="Semester" SortExpression="Semester" /> <asp:BoundField DataField="TTType" HeaderText="TTType" SortExpression="TTType" /> <asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" /> <asp:BoundField DataField="Days" HeaderText="Days" SortExpression="Days" /> <asp:BoundField DataField="Subject" HeaderText="Subject" SortExpression="Subject" /> <asp:BoundField DataField="LTime" HeaderText="LTime" SortExpression="LTime" /> <asp:BoundField DataField="Status" HeaderText="Status" SortExpression="Status" /> </Columns> <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" /> <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" /> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:FTSConnectionString %>" SelectCommand="SELECT [Department], [Standard], [Semester], [TTType], [Date], [Days], [Subject], [LTime], [Status] FROM [TimeTable]"> </asp:SqlDataSource> </td> </tr>

You might also like