<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UsersProductsEdit.aspx.cs"
    Inherits="Admin_Trade_UsersProductsEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑用户产品信息</title>
    <link href="../skin/Style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function $(id)
        {
            return document.getElementById(id);
        }
        function check()
        {
            if($("txtMoney").value=="")
            {
                document.getElementById("money").innerHTML="所需金额必填";
                return false;
            }
            if($("txtLastDate").value=="")
            {
              document.getElementById("date").innerHTML="有效期必填";
            }
        }     
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="talbe_border marie">
            <table cellspacing="0" cellpadding="0" border="0" class="talbe_list">
                <tr>
                    <th colspan="2" class="header tou">
                        编辑用户产品信息</th>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        产品名称：                    </td>
                    <td class="left2">
                        <asp:Label ID="lblProductName" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        单价：
                    </td>
                    <td class="left2">
                        <asp:Label ID="lblPrice" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        公司名称：
                    </td>
                    <td class="left2">
                        <asp:Label ID="lblCompanyName" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        联系人：
                    </td>
                    <td class="left2">
                        <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        电话：
                    </td>
                    <td class="left2">
                        <asp:Label ID="lblPhone" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        要求：
                    </td>
                    <td class="left2">
                        <asp:TextBox ID="txtAsk" runat="server" Height="200px" TextMode="MultiLine" Width="300px" Enabled="False"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="left1">
                        所需费用：
                    </td>
                    <td class="left2">
                        <SPAN><asp:TextBox ID="txtMoney" runat="server"></asp:TextBox></SPAN><div id="money" style="color:Red;"></div>
                    </td>
                </tr>
                <tr>
                    <td  class="left1">
                        有效时间：
                    </td>
                    <td class="left2">
                        <SPAN><asp:TextBox ID="txtLastDate" runat="server"></asp:TextBox></SPAN><div id="date" style="color:Red;"></div>
                    </td>
                </tr>
                <tr>
                    <td  class="left1">
                        排序：
                    </td>
                    <td class="left2">
                        <asp:TextBox ID="txtSort" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr> 
                    <td colspan="2">
                        <asp:Button ID="btnConfim" runat="server" Text="确定" OnClientClick="javascript: return check()" OnClick="btnConfim_Click" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CssClass="i_button" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
