comparison Demo/Asp.Net/Web/Admin/Items.aspx @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 <%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Items.aspx.cs" Inherits="Admin_Items" Title="Items" %>
2
3 <asp:Content ID="Content" ContentPlaceHolderID="cph" Runat="Server">
4
5 <asp:GridView ID="grid" runat="server"
6 AutoGenerateColumns = "False"
7 DataSourceID = "binder"
8 CssClass = "grid"
9 AllowSorting = "True">
10 <Columns>
11 <asp:BoundField DataField="ID" HeaderText="Item ID" SortExpression="ID" />
12 <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
13 <asp:BoundField DataField="Price" HeaderText="Price" SortExpression="Price" ItemStyle-HorizontalAlign="Right" />
14 <asp:BoundField DataField="UnitCost" HeaderText="Unit Cost" SortExpression="UnitCost" ItemStyle-HorizontalAlign="Right" />
15 <asp:BoundField DataField="Quantity" HeaderText="Quantity" SortExpression="Quantity" ItemStyle-HorizontalAlign="Right" />
16 <asp:BoundField DataField="ProductName" HeaderText="Product Name" SortExpression="ProductName" />
17 <asp:BoundField DataField="CategoryID" HeaderText="Category" SortExpression="CategoryID" />
18 </Columns>
19 </asp:GridView>
20
21 <blt:WebObjectBinder ID="binder" runat="server" TypeName="PetShop.ObjectModel.Item" />
22
23 </asp:Content>