Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //code goes inside body tags
- <form id="form1" runat="server">
- <div>
- <%--<asp:GridView ID="TestGridView" runat="server" AutoGenerateColumns="False"
- BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
- CellPadding="4" DataKeyNames="Stock_id" DataSourceID="StockDS"
- ForeColor="Black" GridLines="Vertical">
- <AlternatingRowStyle BackColor="White" />
- <Columns>
- <asp:BoundField DataField="Stock_id" HeaderText="Stock_id"
- InsertVisible="False" ReadOnly="True" SortExpression="Stock_id" />
- <asp:BoundField DataField="Stock_Description" HeaderText="Stock_Description"
- SortExpression="Stock_Description" />
- <asp:BoundField DataField="Stock_Categorie" HeaderText="Stock_Categorie"
- SortExpression="Stock_Categorie" />
- </Columns>
- <FooterStyle BackColor="#CCCC99" />
- <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
- <RowStyle BackColor="#F7F7DE" />
- <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
- <SortedAscendingCellStyle BackColor="#FBFBF2" />
- <SortedAscendingHeaderStyle BackColor="#848384" />
- <SortedDescendingCellStyle BackColor="#EAEAD3" />
- <SortedDescendingHeaderStyle BackColor="#575357" />
- </asp:GridView>--%>
- <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None">
- <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
- <EditRowStyle BackColor="#999999" />
- <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
- <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
- <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
- <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
- <SortedAscendingCellStyle BackColor="#E9E7E2" />
- <SortedAscendingHeaderStyle BackColor="#506C8C" />
- <SortedDescendingCellStyle BackColor="#FFFDF8" />
- <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
- </asp:GridView>
- <asp:Label ID="Label1" runat="server" Font-Size="XX-Large" ForeColor="Red"
- Visible="False"></asp:Label>
- <br />
- <asp:GridView ID="GridView2" runat="server">
- </asp:GridView>
- <br />
- <asp:Button ID="btnAwesome" runat="server" Text="I'm awesome button" />
- <asp:SqlDataSource ID="StockDS" runat="server" ConnectionString="<%$ ConnectionStrings:StockConn %>"
- SelectCommand="SELECT * FROM [Stock]"></asp:SqlDataSource>
- </div>
- </form>
Add Comment
Please, Sign In to add comment