Mercurial > pub > bltoolkit
view Demo/Asp.Net/Web/Admin/Items.aspx @ 3:1ef98bd70424
!bug 100 +3h
Исправление проблемы BLToolkit + mono 3.4
author | cin |
---|---|
date | Fri, 22 Aug 2014 17:34:46 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Items.aspx.cs" Inherits="Admin_Items" Title="Items" %> <asp:Content ID="Content" ContentPlaceHolderID="cph" Runat="Server"> <asp:GridView ID="grid" runat="server" AutoGenerateColumns = "False" DataSourceID = "binder" CssClass = "grid" AllowSorting = "True"> <Columns> <asp:BoundField DataField="ID" HeaderText="Item ID" SortExpression="ID" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="Price" HeaderText="Price" SortExpression="Price" ItemStyle-HorizontalAlign="Right" /> <asp:BoundField DataField="UnitCost" HeaderText="Unit Cost" SortExpression="UnitCost" ItemStyle-HorizontalAlign="Right" /> <asp:BoundField DataField="Quantity" HeaderText="Quantity" SortExpression="Quantity" ItemStyle-HorizontalAlign="Right" /> <asp:BoundField DataField="ProductName" HeaderText="Product Name" SortExpression="ProductName" /> <asp:BoundField DataField="CategoryID" HeaderText="Category" SortExpression="CategoryID" /> </Columns> </asp:GridView> <blt:WebObjectBinder ID="binder" runat="server" TypeName="PetShop.ObjectModel.Item" /> </asp:Content>