<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VisitorRequest.aspx.cs"
    Inherits="Admin_Trade_VisitorResquest" %>
<%@ Register Src="../../Control/PageNo.ascx" TagName="PageNo" TagPrefix="uc1" %>
<!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" src="../../js/jquery.js"></script> 
</head>
<body>
    <form id="form1" runat="server">
        <div class="itemtitle">
            <h3>
                操作提示
            </h3>
        </div>
		<div class="itemtitle_tect">
            <ul>
                <li>通过用户管理，您可以进行编辑会员资料、用户组、权限、积分、授权会员勋章以及删除会员等操作；</li>
                <li>请先根据条件搜索用户，然后选择相应的操作。 </li>
            </ul>
        </div>
        <div class="clr">
        </div>
        <div class="talbe_border">
            <asp:GridView ID="gvVisitorRequest" runat="server" CssClass="talbe_list" AutoGenerateColumns="false"
                GridLines="none" CellPadding="0" DataKeyNames="ID" Font-Overline="false" HeaderStyle-CssClass="itemtitle" OnRowDataBound="gvVisitorRequest_RowDataBound">
                <Columns>
                    <asp:TemplateField HeaderText="产品名称">
                        <ItemTemplate>
                            <%# Eval("Name") %>
                        </ItemTemplate>
						<HeaderStyle CssClass="tou" />
                        <ItemStyle CssClass="left2"/>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="用户姓名">
                        <ItemTemplate>
                            <%# Eval("UserName") %>
                        </ItemTemplate>
                        <ItemStyle CssClass="th30" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="公司名称">
                        <ItemTemplate>
                            <%# Eval("CompanyName") %>
                        </ItemTemplate>
                        <ItemStyle CssClass="th180" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="联系电话">
                        <ItemTemplate>
                            <%# Eval("Phone") %>
                        </ItemTemplate>
                        <ItemStyle CssClass="th80" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="邮箱">
                        <ItemTemplate>
                            <%# Eval("Email") %>
                        </ItemTemplate>
                        <ItemStyle CssClass="th80" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="留言时间">
                        <ItemTemplate>
                            <%# GetShortDate(Eval("AddDate").ToString()) %>
                        </ItemTemplate>
                        <ItemStyle CssClass="th30" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="操作选项">
                        <ItemTemplate>
                            <a href="VisitorRequestShow.aspx?id=<%# Eval("ID") %>">查看</a> | 
                            <asp:LinkButton ID="lbtnDelete" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"ID")%>'
                                OnClientClick="return confirm('你确定要删除吗?')" OnCommand="lbtnDelete_Command">删除</asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle CssClass="th80" />
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle CssClass="header" />
            </asp:GridView>
			 <div class="Paging">
            <p>
                <uc1:PageNo ID="PageNo1" runat="server" />
            </p>
        </div>
        </div>
    </form>
</body>
</html>
