⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productmanagement.aspx

📁 這是一個由CSharp寫成的小型ERP系統
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 
    CodeFile="ProductManagement.aspx.cs" Inherits="System_ProductManagement" Title="产品信息维护" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

<script language="javascript"  type="text/javascript">
    function ConfirmDelte()
    {
         Alert("nnn");
    }
</script>
    <table style="width: 100%">
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label_Type" runat="server" Text="<%$ Resources:ProductType.Text %>" 
                               ></asp:Label>  
                                
                        </td>
                        <td>
                            <asp:DropDownList ID="DrpProductTypeList" runat="server" AutoPostBack="True" 
                                DataSourceID="ObjectDataSource_ProductTypeList" DataTextField="ProductTypeName" 
                                DataValueField="ProductTypeID" Width="140px" 
                                OnSelectedIndexChanged="DrpProductTypeList_SelectedIndexChanged" 
                                meta:resourcekey="DrpProductTypeListResource1" >
                            </asp:DropDownList>
                            
                        </td>
                        <td>
                            <asp:Label ID="Label_Code" runat="server" 
                                meta:resourcekey="ProductCode" 
                                Text="<%$ Resources:ProductTypeCode.Text %>" ></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxFindCode" runat="server" 
                                meta:resourcekey="TextBoxFindCodeResource1"></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="ButtonFind" runat="server" Text="查找" OnClick="ButtonFind_Click" 
                                meta:resourcekey="ButtonFindResource1" Font-Bold="False" Font-Overline="False" 
                                Font-Strikeout="False" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table border="1px" cellpadding="1" cellspacing="1" width="100%">
                    <tr>
                        <td valign="top">
                            <asp:GridView ID="GridViewProductsList" SkinId="DataCollections_View" runat="server" 
                                AllowPaging="True" AllowSorting="True"
                                DataSourceID="ObjectDataSource_Products" AutoGenerateColumns="False" DataKeyNames="ProductID,ProductTypeID" 
                                OnRowCommand="GridViewProductsList_RowCommand"
                                onsorting="GridViewProductsList_Sorting" 
                                meta:resourcekey="GridViewProductsListResource1">
                                <Columns>
                                    <asp:BoundField DataField="ProductID" HeaderText="ProductID" InsertVisible="False"
                                        ReadOnly="True" SortExpression="ProductID" Visible="False" 
                                        meta:resourcekey="BoundFieldResource1" />
                                    <asp:BoundField DataField="ProductTypeID" HeaderText="ProductTypeID" InsertVisible="False"
                                        ReadOnly="True" SortExpression="ProductTypeID" Visible="False" 
                                        meta:resourcekey="BoundFieldResource2" />
                                    <asp:BoundField DataField="ProductTypeCode" HeaderText="ProductTypeCode" SortExpression="ProductTypeCode"
                                        Visible="False" meta:resourcekey="BoundFieldResource3" />
                                    <asp:BoundField DataField="ProductTypeName" HeaderText="产品类别" 
                                        SortExpression="ProductTypeName" meta:resourcekey="BoundFieldResource4"  />
                                    <asp:BoundField DataField="ProductCode" HeaderText="产品编码"
                                        SortExpression="ProductCode" meta:resourcekey="BoundFieldResource5" />
                                    <asp:BoundField DataField="ProductName" HeaderText="产品名称" 
                                        SortExpression="ProductName" meta:resourcekey="BoundFieldResource6" />
                                    <asp:BoundField DataField="ProductModule" HeaderText="产品规格" 
                                        SortExpression="ProductModule" meta:resourcekey="BoundFieldResource7" />
                                    <asp:BoundField DataField="ProductColor" HeaderText="产品颜色" 
                                        SortExpression="ProductColor" meta:resourcekey="BoundFieldResource8" />
                                    <asp:BoundField DataField="ProductPrice" HeaderText="产品价格" 
                                        SortExpression="ProductPrice" meta:resourcekey="BoundFieldResource9" />
                                    <asp:ButtonField ButtonType="Button" CommandName="DoUpdate" Text="修改" 
                                        meta:resourcekey="ButtonFieldResource1" />
                                    <asp:ButtonField  ButtonType="Button" CommandName="DoDelete" Text="删除" 
                                        meta:resourcekey="ButtonFieldResource2" />
                                </Columns>
                                <EmptyDataTemplate>
                                    <table id="ctl00_ContentPlaceHolder1_GridViewProductsList" border="1" cellpadding="4"
                                        cellspacing="0" rules="cols" style="border-top-width: 1px; border-left-width: 1px;
                                        border-left-color: #dedfde; border-bottom-width: 1px; border-bottom-color: #dedfde;
                                        color: black; border-top-color: #dedfde; border-collapse: collapse; background-color: white;
                                        border-right-width: 1px; border-right-color: #dedfde">
                                        <tr style="font-weight: bold; color: white; background-color: #6b696b">
                                            <th scope="col">
                                                <a 
                                                    style="color: white">产品类别</a></th>
                                            <th scope="col">
                                                <a 
                                                    style="color: white">产品编码</a></th>
                                            <th scope="col">
                                                <a 
                                                    style="color: white">产品名称</a></th>
                                            <th scope="col">
                                                <a 
                                                    style="color: white">产品规格</a></th>
                                            <th scope="col">
                                                <a 
                                                    style="color: white"></th>
                                            <th scope="col">
                                                <a 
                                                    style="color: white">产品价格</a></th>
                                            <th scope="col">
                                                &nbsp;</th>
                                            <th scope="col">
                                                &nbsp;</th>
                                        </tr>
                                        <tr style="background-color: #f7f7de">
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -