<%@ page validaterequest="false" language="C#" autoeventwireup="true" inherits="UserManager, App_Web_smav4mrd" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="BanMian_Top.ascx" TagName="BanMian_Top" TagPrefix="Bati_Top" %>

<%@ Register Src="~/bottom.ascx" TagName="bottom" TagPrefix="Bati_Bottom" %>
<!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>Bati-用户管理</title>
    <link href="MyBati/images/mybati.css" rel="stylesheet" type="text/css" >
    
    <script type="text/javascript">
ie4=(document.all)?true:false;
ns4=(document.layers)?true:false;

function toExit(){
var args=toExit.arguments;
var visible=args[0];
if(ns4){
		theObj=eval("document.layers[\'"+args[1]+"\']");
		if(theObj)theObj.visibility=visible;
		}
else if(ie4){
		if(visible=='show')visible='visible';
		if(visible=='hide')visible='hidden';
		theObj=eval("document.all[\'"+args[1]+"\']");
		if(theObj)theObj.style.visibility=visible;
		}

}
     

</script>
</head>
<body>
    <form id="form1" runat="server">
    <center>
    <Bati_Top:BanMian_Top ID="BanMian_Top1" runat="server" />

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 958px; border-right: #947131 2px solid; border-top: #947131 2px solid; border-left: #947131 2px solid; border-bottom: #947131 2px solid;">
            <tr>
                <td style="width: 20%" align="left" rowspan="3" valign="top">
                    <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                        <tr>
                            <td style="width: 100%">
                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td align="center" colspan="2">
                                            <table id="table11" runat="server" border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                                <tr>
                                                    <td style="width: 51%">
                                                        <a href="javascript:toExit('show','HuaDong')"><strong>撰写滑动条</strong></a></td>
                                                    <td style="width: 100%">
                                                        <a href="javascript:toExit('show','ZiLiaoDiv')"><strong>编辑个人资料</strong></a></td>
                                                    
                                                </tr>
                                                <tr>
                                                    <td style="width: 51%; height: 25px;">
                                                        <asp:Label ID="Label8" runat="server" Font-Bold="True" Text="<a href=home/Bati_CreateTeam.aspx target=_blank>创建家族</a>"
                                                            Width="76px"></asp:Label></td>
                                                    <td style="width: 100%; height: 25px;">
                                                        <asp:LinkButton ID="LinkButton11" runat="server" Font-Bold="True" OnClick="LinkButton11_Click">我的论坛</asp:LinkButton></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td align="center" colspan="2">
                                            <asp:Image ID="Image1" runat="server" Height="106px" Width="99px" /></td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2" style="height: 22px">
                                            <a href="javascript:toExit('show','PostImg')"><strong>上传头像/脚像</strong></a></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100%">
                                作者姓名：<asp:Label ID="LabelName" runat="server" Text="Label" Width="118px"></asp:Label><br />
                                &nbsp;作者年龄：<asp:Label ID="LabelAge" runat="server" Text="Label" Width="116px"></asp:Label><br />
                                &nbsp;所属家族：<asp:Label ID="LabelTeam" runat="server" Text="Label" Width="114px"></asp:Label><br />
                                &nbsp;用户积分：<asp:Label ID="LabelJF" runat="server" Text="Label" Width="112px"></asp:Label><br />
                                &nbsp;用户金钱：<asp:Label ID="LabelMoney" runat="server" Text="Label" Width="110px"></asp:Label><br />
                                &nbsp;注册时间：<asp:Label ID="LabelTime" runat="server" Text="Label" Width="108px"></asp:Label><br />
                                &nbsp;用户状态：<asp:Label ID="LabelZT" runat="server" Text="Label" Width="108px"></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="width: 100%">
                                <asp:Label ID="Labelqianming" runat="server" Text="Label" Width="180px"></asp:Label></td>
                        </tr>
                        <tr>
                            <td align="center" style="width: 100%;">
                                </td>
                        </tr>
                        <tr>
                            <td style="width: 100%">
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 40%" rowspan="3" align="left" valign="top">
                    <cc1:DragPanelExtender ID="DragPanelExtender1" runat="server" DragHandleID="Panel7" TargetControlID="Panel6">
                     
                    </cc1:DragPanelExtender>
                    <asp:Panel ID="Panel6" runat="server" Width="306px" Height="0px">
                      <asp:Panel ID="Panel7" runat="server" Width="100%" Height="0px">

                    <div id="PostImg" runat="server" style=" width: 306px;
                         visibility:hidden" title="按住鼠标进行拖动">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td align="left" rowspan="3" style="background-image: url(user/ImageU/bg_cart_row5c.gif);
                                    width: 100%; height: 317px" valign="top">
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                        <tr>
                                            <td align="center" style="width: 100%; height: 41px">
                                                <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="White" Text="头像/脚像上传"
                                                    Width="116px"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 100%; height: 25px">
                                                <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                                    <tr>
                                                        <td style="width: 50%; height: 110px">
                                                            <asp:Image ID="Image2" runat="server" Height="99px" Width="106px" /></td>
                                                        <td style="width: 100%; height: 110px">
                                                            <asp:Image ID="Image3" runat="server" Height="99px" Width="106px" /></td>
                                                    </tr>
                                                </table>
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%; height: 26px" align="center">
                                                &nbsp;<asp:FileUpload ID="FileUpload1" runat="server" Width="269px" /></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 100%; height: 29px">
                                                <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                                                    <asp:ListItem>作为头像</asp:ListItem>
                                                    <asp:ListItem>作为脚像</asp:ListItem>
                                                </asp:RadioButtonList></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 100%; height: 29px">
                                                <asp:DropDownList ID="DropDownList1" runat="server">
                                                </asp:DropDownList></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%; height: 29px" align="center">
                                                <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click" Width="117px">确认上传</asp:LinkButton>
                                                <a href="javascript:toExit('hide','PostImg')">关闭窗口</></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 100%; height: 29px">
                                                <asp:Label ID="Label11" runat="server" ForeColor="Red" Text="请注意脚像的尺寸，不要过宽"
                                                    Width="214px"></asp:Label></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                            </tr>
                            <tr>
                            </tr>
                        </table>
                    </div>
                    </asp:Panel>
                    </asp:Panel>
                    <table border="0" cellpadding="3" cellspacing="0" style="width: 377px;height:347px">
                        <tr>
                            <td align="left" colspan="2" style="background-image: url(user/ImageU/box_row2.gif);
                                height: 343px" valign="top">
                                <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                    <tr>
                                        <td style="width: 100%; height: 22px;">
                                            &nbsp; &nbsp; &nbsp;<asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="Black" Text="我的自发贴"
                                                Width="70px"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100%">
                                            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
                                                AutoGenerateColumns="False"
                                                BorderWidth="0px" DataKeyNames="ArticleID" DataSourceID="SqlDataSource1" PageSize="11" Width="100%">
                                                <Columns>
                                                    <asp:BoundField DataField="ArticleID" HeaderText="ArticleID" InsertVisible="False"
                                                        ReadOnly="True" SortExpression="ArticleID" Visible="False" />
                                                    <asp:BoundField DataField="BanMianName" HeaderText="所属版面" SortExpression="BanMianName">
                                                        <ItemStyle Width="80px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="CreateTime" HeaderText="发布时间" SortExpression="CreateTime"
                                                        Visible="False" />
                                                    <asp:BoundField DataField="Click" HeaderText="点击" SortExpression="Click" Visible="False" />
                                                    <asp:BoundField DataField="ReNum" HeaderText="回复" SortExpression="ReNum" Visible="False" />
                                                    <asp:HyperLinkField DataNavigateUrlFields="ArticleID" DataNavigateUrlFormatString="Bati_Show.aspx?ArticleID={0}"
                                                        DataTextField="Title" DataTextFormatString="{0}" HeaderText="标题" Target="_blank" />
                                                </Columns>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 49%; height: 25px;" align="left" valign="middle">
                                
                                <div id="HuaDong" runat="server" style="z-index: 102; left: 192px; position: absolute; top: 221px;width: 309px; 
                                    height: 186px; visibility:hidden">
                                    <table border="0" cellpadding="0" cellspacing="0" style="border-right: #990000 2px groove;
                                        border-top: #990000 2px groove; border-left: #990000 2px groove; width: 100%;
                                        border-bottom: #990000 2px groove; background-color: #ffcc99;">
                                        <tr>
                                            <td align="center" style="width: 20%; height: 18px">
                                            </td>
                                            <td style="width: 100%; height: 18px">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 20%; height: 25px">
                                                标题：</td>
                                            <td style="width: 100%; height: 25px">
                                                &nbsp;<asp:TextBox ID="TextBoxTitle" runat="server" Width="229px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 20%; height: 10px">
                                            </td>
                                            <td style="width: 100%; height: 10px">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 20%; height: 26px">
                                            </td>
                                            <td style="width: 100%; height: 26px">
                                                <asp:LinkButton ID="LinkButton5" runat="server" Width="55px" OnClick="LinkButton5_Click">确认发言</asp:LinkButton>&nbsp;
                                                <a href="javascript:toExit('hide','HuaDong')">关闭窗口</a></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="width: 20%; height: 26px">
                                            </td>
                                            <td style="width: 100%; height: 26px">
                                                <asp:Label ID="Label4" runat="server" Text="Label" Visible="False"></asp:Label></td>
                                        </tr>
                                    </table>
                                </div>
                                <cc1:DragPanelExtender ID="DragPanelExtender2" runat="server" DragHandleID="Panel1" TargetControlID="Panel2" />
                    <asp:Panel ID="Panel2" runat="server" Width="376px" Height="0px">
                    <asp:Panel ID="Panel1" runat="server" Width="100%" Height="0px">
                    <div id="ZiLiaoDiv" runat="server" style="z-index: 102; left: 10px; position: absolute; top: 2px;
                        width: 376px;  visibility:hidden" title="按住鼠标进行拖动">
                        <table border="0" cellpadding="3" cellspacing="0" style="border-right: #0970ba 1px solid;
                            border-top: #0970ba 1px solid; border-left: #0970ba 1px solid; width: 100%; border-bottom: #0970ba 1px solid;
                            background-color: #ffffff">
                            <tr>
                                <td align="left" colspan="2" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; border-bottom: #739ebd 1px dashed">
                                    用户名：<asp:TextBox ID="TextBoxUser" runat="server" ReadOnly="True" Width="152px"></asp:TextBox>
                                    &nbsp; <a href="javascript:toExit('show','MiMa')"><span style="color: #0000ff">修改密码</span></a></td>
                            </tr>
                            <tr style="color: #0000ff">
                                <td align="left" colspan="2" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; border-bottom: #739ebd 1px dashed">
                                    性别：<asp:RadioButtonList ID="iSex" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem>男</asp:ListItem>
                                        <asp:ListItem>女</asp:ListItem>
                                    </asp:RadioButtonList></td>
                            </tr>
                            <tr>
                                <td align="left" colspan="2" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; border-bottom: #739ebd 1px dashed">
                                    出生日期：<asp:DropDownList ID="iYear" runat="server">
                                    </asp:DropDownList>
                                    年<asp:DropDownList ID="iMonth" runat="server">
                                        <asp:ListItem>1</asp:ListItem>
                                        <asp:ListItem>2</asp:ListItem>
                                        <asp:ListItem>3</asp:ListItem>
                                        <asp:ListItem>4</asp:ListItem>
                                        <asp:ListItem>5</asp:ListItem>
                                        <asp:ListItem>6</asp:ListItem>
                                        <asp:ListItem>7</asp:ListItem>
                                        <asp:ListItem>8</asp:ListItem>
                                        <asp:ListItem>9</asp:ListItem>
                                        <asp:ListItem>10</asp:ListItem>
                                        <asp:ListItem>11</asp:ListItem>
                                        <asp:ListItem>12</asp:ListItem>
                                    </asp:DropDownList>月<asp:DropDownList ID="iDay" runat="server">
                                        <asp:ListItem>1</asp:ListItem>
                                        <asp:ListItem>2</asp:ListItem>
                                        <asp:ListItem>3</asp:ListItem>
                                        <asp:ListItem>4</asp:ListItem>
                                        <asp:ListItem>5</asp:ListItem>
                                        <asp:ListItem>6</asp:ListItem>
                                        <asp:ListItem>7</asp:ListItem>
                                        <asp:ListItem>8</asp:ListItem>
                                        <asp:ListItem>9</asp:ListItem>
                                        <asp:ListItem>10</asp:ListItem>
                                        <asp:ListItem>11</asp:ListItem>
                                        <asp:ListItem>12</asp:ListItem>
                                        <asp:ListItem>13</asp:ListItem>
                                        <asp:ListItem>14</asp:ListItem>
                                        <asp:ListItem>15</asp:ListItem>
                                        <asp:ListItem>16</asp:ListItem>
                                        <asp:ListItem>17</asp:ListItem>
                                        <asp:ListItem>18</asp:ListItem>
                                        <asp:ListItem>19</asp:ListItem>
                                        <asp:ListItem>20</asp:ListItem>
                                        <asp:ListItem>21</asp:ListItem>
                                        <asp:ListItem>22</asp:ListItem>
                                        <asp:ListItem>23</asp:ListItem>
                                        <asp:ListItem>24</asp:ListItem>
                                        <asp:ListItem>25</asp:ListItem>
                                        <asp:ListItem>26</asp:ListItem>
                                        <asp:ListItem>27</asp:ListItem>
                                        <asp:ListItem>28</asp:ListItem>
                                        <asp:ListItem>29</asp:ListItem>
                                        <asp:ListItem>30</asp:ListItem>
                                        <asp:ListItem>31</asp:ListItem>
                                    </asp:DropDownList>日</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="2" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; border-bottom: #739ebd 1px dashed; height: 30px">
                                    所在城市：<asp:TextBox ID="iAddress" runat="server" Width="195px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed; border-left: #739ebd 1px dashed;
                                    width: 30%; border-bottom: #739ebd 1px dashed" valign="top">
                                    个性
                                    <div id="MiMa" runat="server" style="z-index: 101; left: 276px; visibility: hidden;
                                        width: 214px; position: absolute; top: 0px; height: 174px">
                                        <table border="0" cellpadding="3" cellspacing="0" style="border-right: #0086c6 1px solid;
                                            border-top: #0086c6 1px solid; border-left: #0086c6 1px solid; width: 100%; border-bottom: #0086c6 1px solid">
                                            <tr>
                                                <td align="left" style="width: 87%; background-color: #0086c6">
                                                    &nbsp;<asp:Label ID="Label5" runat="server" Font-Bold="True" ForeColor="White" Text="修改密码"
                                                        Width="136px"></asp:Label></td>
                                                <td style="width: 100%; background-color: #0086c6">
                                                    <a href="javascript:toExit('hide','MiMa')">
                                                        <img src="user/ImageU/ico17.gif" /></a></td>
                                            </tr>
                                            <tr>
                                                <td align="left" colspan="2" style="background-color: #efffff">
                                                    &nbsp;原密码：<asp:TextBox ID="TextBoxOldMiMa" runat="server" TextMode="Password"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="left" colspan="2" style="background-color: #efffff">
                                                    &nbsp;新密码：<asp:TextBox ID="TextBoxNewMiMa" runat="server" TextMode="Password"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="left" colspan="2" style="background-color: #efffff">
                                                    &nbsp;确认密码：<asp:TextBox ID="TextBoxQueRen" runat="server" TextMode="Password"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="center" colspan="2" style="height: 25px; background-color: #efffff">
                                                    <asp:Label ID="Label6" runat="server" ForeColor="Red" Text="Label" Visible="False"
                                                        Width="138px"></asp:Label></td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" style="height: 40px; background-color: #efffff">
                                                    <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="Black" OnClick="Button1_Click"
                                                        Text="修 改" /></td>
                                            </tr>
                                        </table>
                                    </div>
                                    签名：</td>
                                <td align="left" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; width: 100%; border-bottom: #739ebd 1px dashed">
                                    &nbsp;<asp:TextBox ID="iContent" runat="server" Height="126px" TextMode="MultiLine"
                                        Width="240px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td colspan="2" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; border-bottom: #739ebd 1px dashed">
                                    可使用HTML语句例：&lt;font color=red&gt;&lt;strong&gt;内容&lt;/strong&gt;&lt;/font&gt;</td>
                            </tr>
                            <tr>
                                <td style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed; border-left: #739ebd 1px dashed;
                                    width: 30%; border-bottom: #739ebd 1px dashed">
                                </td>
                                <td align="left" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; width: 100%; border-bottom: #739ebd 1px dashed">
                                    <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="Label" Visible="False"
                                        Width="210px"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed; border-left: #739ebd 1px dashed;
                                    width: 30%; border-bottom: #739ebd 1px dashed">
                                </td>
                                <td align="left" style="border-right: #739ebd 1px dashed; border-top: #739ebd 1px dashed;
                                    border-left: #739ebd 1px dashed; width: 100%; border-bottom: #739ebd 1px dashed">
                                    <asp:LinkButton ID="LinkButton9" runat="server" OnClick="LinkButton9_Click">确认修改</asp:LinkButton>&nbsp;
                                    <a href="javascript:toExit('hide','ZiLiaoDiv')">关闭窗口</a></td>
                            </tr>
                            <tr>
                                <td style="width: 30%; height: 23px">
                                </td>
                                <td style="width: 100%; height: 23px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    </asp:Panel>
                    </asp:Panel>
                            </td>
                            <td align="left" style="width: 71%; height: 25px" valign="top">
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 49%; height: 25px" valign="middle">
                                &nbsp;</td>
                            <td align="left" style="width: 71%; height: 25px" valign="top">
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 100%" rowspan="3" align="left" valign="top"><table border="0" cellpadding="3" cellspacing="0" style="width: 377px;height:347px">
                    <tr>
                        <td style="width: 100%; background-image: url(user/ImageU/box_row2.gif); height: 343px;" align="left" valign="top">
                            <table border="0" cellpadding="3" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style="width: 100%; height: 22px;">
                                        &nbsp; &nbsp; &nbsp;<asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="Black" Text="我的关注贴"
                                            Width="70px"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 100%">
                                        <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False" BorderWidth="0px"
                                            DataKeyNames="GuanZhuID" DataSourceID="SqlDataSource2"
                                            PageSize="11" Width="100%" AutoGenerateDeleteButton="True" OnRowDeleted="GridView2_RowDeleted">
                                            <Columns>
                                                <asp:HyperLinkField DataNavigateUrlFields="ArticleID" DataNavigateUrlFormatString="Bati_Show.aspx?ArticleID={0}"
                                                    DataTextField="Title" DataTextFormatString="{0}" HeaderText="标题" />
                                                <asp:BoundField DataField="UserName" HeaderText="UserName" SortExpression="UserName"
                                                    Visible="False" />
                                                <asp:BoundField DataField="ArticleID" HeaderText="ArticleID" SortExpression="ArticleID"
                                                    Visible="False" />
                                                <asp:BoundField DataField="GuanZhuID" HeaderText="GuanZhuID" InsertVisible="False"
                                                    ReadOnly="True" SortExpression="GuanZhuID" Visible="False" />
                                                <asp:BoundField DataField="PostName" HeaderText="发布人" SortExpression="PostName" />
                                            </Columns>
                                        </asp:GridView>
                                        
                                        </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100%; height: 23px;">
                        </td>
                    </tr>
                </table>
                    
                </td>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
        </table>

    <Bati_Bottom:bottom ID="bottom1" runat="server" />
    </center>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>"
            DeleteCommand="DELETE FROM [Article] WHERE [ArticleID] = @ArticleID" InsertCommand="INSERT INTO [Article] ([BanMianName], [Title], [CreateTime], [Click], [ReNum]) VALUES (@BanMianName, @Title, @CreateTime, @Click, @ReNum)"
            SelectCommand="SELECT [ArticleID], [BanMianName], [Title], [CreateTime], [Click], [ReNum] FROM [Article] WHERE ([UserName] = @UserName) ORDER BY [ArticleID] DESC"
            UpdateCommand="UPDATE [Article] SET [BanMianName] = @BanMianName, [Title] = @Title, [CreateTime] = @CreateTime, [Click] = @Click, [ReNum] = @ReNum WHERE [ArticleID] = @ArticleID">
            <DeleteParameters>
                <asp:Parameter Name="ArticleID" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="BanMianName" Type="String" />
                <asp:Parameter Name="Title" Type="String" />
                <asp:Parameter Name="CreateTime" Type="DateTime" />
                <asp:Parameter Name="Click" Type="Int32" />
                <asp:Parameter Name="ReNum" Type="Int32" />
                <asp:Parameter Name="ArticleID" Type="Int32" />
            </UpdateParameters>
            <SelectParameters>
                <asp:SessionParameter Name="UserName" SessionField="BatiUser" Type="String" />
            </SelectParameters>
            <InsertParameters>
                <asp:Parameter Name="BanMianName" Type="String" />
                <asp:Parameter Name="Title" Type="String" />
                <asp:Parameter Name="CreateTime" Type="DateTime" />
                <asp:Parameter Name="Click" Type="Int32" />
                <asp:Parameter Name="ReNum" Type="Int32" />
            </InsertParameters>
        </asp:SqlDataSource>
                                        <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConflictDetection="CompareAllValues"
                                            ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>" DeleteCommand="DELETE FROM [User_GuanZhu] WHERE [GuanZhuID] = @original_GuanZhuID"
                                            InsertCommand="INSERT INTO [User_GuanZhu] ([UserName], [ArticleID], [Title], [PostName]) VALUES (@UserName, @ArticleID, @Title, @PostName)"
                                            OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [User_GuanZhu] WHERE ([UserName] = @UserName) ORDER BY [GuanZhuID] DESC"
                                            UpdateCommand="UPDATE [User_GuanZhu] SET [UserName] = @UserName, [ArticleID] = @ArticleID, [Title] = @Title, [PostName] = @PostName WHERE [GuanZhuID] = @original_GuanZhuID AND [UserName] = @original_UserName AND [ArticleID] = @original_ArticleID AND [Title] = @original_Title AND [PostName] = @original_PostName">
                                            <DeleteParameters>
                                                <asp:Parameter Name="original_GuanZhuID" Type="Int32" />
                                                <asp:Parameter Name="original_UserName" Type="String" />
                                                <asp:Parameter Name="original_ArticleID" Type="Int32" />
                                                <asp:Parameter Name="original_Title" Type="String" />
                                                <asp:Parameter Name="original_PostName" Type="String" />
                                            </DeleteParameters>
                                            <UpdateParameters>
                                                <asp:Parameter Name="UserName" Type="String" />
                                                <asp:Parameter Name="ArticleID" Type="Int32" />
                                                <asp:Parameter Name="Title" Type="String" />
                                                <asp:Parameter Name="PostName" Type="String" />
                                                <asp:Parameter Name="original_GuanZhuID" Type="Int32" />
                                                <asp:Parameter Name="original_UserName" Type="String" />
                                                <asp:Parameter Name="original_ArticleID" Type="Int32" />
                                                <asp:Parameter Name="original_Title" Type="String" />
                                                <asp:Parameter Name="original_PostName" Type="String" />
                                            </UpdateParameters>
                                            <SelectParameters>
                                                <asp:SessionParameter Name="UserName" SessionField="BatiUser" Type="String" />
                                            </SelectParameters>
                                            <InsertParameters>
                                                <asp:Parameter Name="UserName" Type="String" />
                                                <asp:Parameter Name="ArticleID" Type="Int32" />
                                                <asp:Parameter Name="Title" Type="String" />
                                                <asp:Parameter Name="PostName" Type="String" />
                                            </InsertParameters>
                                        </asp:SqlDataSource>
    </form>
</body>
</html>
