<%@ page language="C#" autoeventwireup="true" inherits="Search_Product, mallz" enableEventValidation="false" %>

<html id="html1" runat="server" xmlns="http://www.w3.org/1999/xhtml" visible="false" >
<head><title></title></head>
<body>
    <form id="SearchForm" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="SearchForm" width="100%" align="center">
            <tr height="25">
                <th>商品名称：</th>
                <td><asp:TextBox ID="TxtProductName" MaxLength="100" Width="300" runat="server"/></td>
            </tr>
            <tr height="25">
                <th>交易类型：</th>
                <td>
                    <asp:CheckBox ID="s_standprice" runat="server" Text="一口价" />
                     <asp:CheckBox ID="s_auction" runat="server" Text="拍卖" />
                     <asp:CheckBox ID="s_teambuy" runat="server" Text="团购" />
                </td>
            </tr>
            <tr height="25">
                <th>商品分类：</th>
                <td><asp:DropDownList ID="ClassID" DataSourceID="ObjectDataSource1" runat="server" AppendDataBoundItems="true" DataTextField="ClassName" DataValueField="ClassID">
                    <asp:ListItem Value="">所有分类</asp:ListItem>
                </asp:DropDownList>
                    <asp:ObjectDataSource ID="ObjectDataSource1" TypeName="MallZ.Data.Shop_Class" SelectMethod="GetActiveClassNameFillDropDown" runat="server"></asp:ObjectDataSource>
                </td>
            </tr>
            <tr height="25">
                <th>所在地：</th>
                <td><MZ:ProvinceCity ID="TxtPlace" runat="server" /></td>
            </tr>
            <tr height="25">
                <th>价格从：</th>
                <td>
                    <asp:TextBox ID="startprice" Width="100" MaxLength="10" runat="server"/> 至 <asp:TextBox ID="endprice"  Width="100" MaxLength="10" runat="server"/>
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="startprice" ErrorMessage="价格必须为非负数的数字类型" MaximumValue="999999" MinimumValue="0" Type="Double" Display="Dynamic"/>
                    <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="endprice" ErrorMessage="价格必须为非负数的数字类型" MaximumValue="999999" MinimumValue="0" Type="Double" Display="Dynamic"/>
                </td>
            </tr>
            <tr height="25">
                <th>新旧程度：</th>
                <td>
                    <asp:CheckBox ID="s_secondhand" runat="server" Text="二手" />
                    <asp:CheckBox ID="s_new" runat="server" Text="全新" />
                </td>
            </tr>
            <tr height="25">
                <th>&nbsp;</th>
                <td>
                    <asp:Button ID="Button1" runat="server" Text=" 搜 索 " OnClick="Button1_OnClick" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
