<%@ Page Language="C#" MasterPageFile="~/Basic.Master" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="CitySunlight.Main" %>

<%@ Import Namespace="CitySunlight" %>
<asp:Content ID="body" ContentPlaceHolderID="body" runat="server">
    <form id="formmain" class="form-horizontal" runat="server">
        <div class="form-group">
            <label class="col-sm-2 control-label">商品名称</label>
            <div class="col-sm-4">
                <input class="form-control" name="search" type="text" placeholder="请输入商品名称查找...">
            </div>
            <div class="col-sm-2"><%= classoption %></div>
            <div class="col-sm-2">
                <asp:Button ID="searchB" runat="server" Text="搜索" OnClick="searchB_Click" CssClass="btn btn-default" />
            </div>
        </div>
        <table class="table text-center">
            <%= GetProductInfo() %>
        </table>
    </form>
</asp:Content>



