<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_PtypePeiHuoView.aspx.cs" Inherits="AndroidSevice.Web.BackStage.XDGL.Frm_PtypePeiHuoView" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>新增客户配货协议</h5>
                            </div>
							<div class="widget-content2">
                             <table id="query" class="table table-bordered table-striped table-hover">
                                    <tbody>
                                    <tr>
										<td>
                                            <span>协议名称：</span>
                                             <asp:TextBox ID="xyName" runat="server" Enabled="false"  Width=260px></asp:TextBox>
                                        </td>
                                         <td>
                                            <span>客户名称：</span>
                                                <asp:TextBox ID="customerName" runat="server" Enabled="false" Width=260px></asp:TextBox>                            
                                        </td>
                                        <td >
                                            <span>生效时间：</span>
                                                <asp:TextBox ID="strdate" runat="server" Enabled="false" Width=100px></asp:TextBox>  
                                           <span> - 失效时间：</span>
                                                 <asp:TextBox ID="endate" runat="server" Enabled="false" Width=100px></asp:TextBox>  
                                        </td>
                                       
									</tr>
                                    </tbody>
							 </table>
                             <table id="wew" class="table table-bordered table-striped table-hover">
                                    <thead>
										<tr>
                                            <th style=" width:30px">序号</th>
											<th>商品编号</th>
											<th>商品名称</th>
                                            <th>协议单价</th>
                                            <th>协议数量</th>
                                            <th>备注</th>
										</tr>
									</thead>
                                    <tbody>
                                    <%
                                        if (dtList != null && dtList.Rows.Count != 0)
                                        {
                                            for (int i = 0; i < dtList.Rows.Count; i++)
                                            {
                                        %>
                                    <tr>
                                            <td style=" width:30px"><%=i+1 %></td>
											<td><%=dtList.Rows[i]["usercode"].ToString()%></td>
                                            <td><%=dtList.Rows[i]["fullname"].ToString()%></td>
                                            <td><%=dtList.Rows[i]["price"].ToString()%></td>
                                            <td><%=dtList.Rows[i]["count"].ToString()%></td>
                                            <td><%=dtList.Rows[i]["comment"].ToString()%></td>
                            
									</tr>
                                     <%
                                            }
                                        }
                                         %>
                                    </tbody>
							</table>
                            <div class="pager">
                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页"
                                    PrevPageText="上一页" NextPageText="下一页" OnPageChanging="AspNetPager1_PageChanging"
                                    PageSize="10" AlwaysShow="True" />
                            </div>
						</div>
				</div>
			</div>
    </div>
    </div>
</asp:Content>



