⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myinfocenter.aspx

📁 拍卖系统
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
            <tr>
              <td align="center"  height="10px" valign="top">                  </td>
            </tr>
            <tr>
              <td align="center" valign="top">&nbsp;</td>
            </tr>
            
        </table>
		</div>
		
		
		
		
		<div id="divModifyInfo" name="show" style="display:none" >
		 <table width="100%" border="1" cellspacing="0" bordercolor="#eeeeee"  style="border:solid 1px #eeeeee">
  <tr>
    <td colspan="2" valign="middle" class="tdbg_left" align="center"><b>修改个人资料</b></td>
    </tr>
  <tr>
    <td width="22%" align="right">用户名:</td>
    <td width="78%"  align="left">
        &nbsp;&nbsp;&nbsp; <asp:TextBox ID="tbUserName" runat="server" Width="189px" ReadOnly="True"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">真实姓名:</td>
    <td align="left">
       &nbsp;&nbsp;&nbsp; <asp:TextBox ID="tbRealName" runat="server" Width="189px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">性别:</td>
    <td align="left">
      &nbsp;&nbsp;&nbsp;  <asp:RadioButton ID="RadioButton2" runat="server" GroupName="a" Text="男" />
        &nbsp;<asp:RadioButton ID="RadioButton3"
            runat="server" GroupName="a" Text="女" />
        <asp:RadioButton ID="RadioButton1" runat="server" GroupName="a" Text="秘密" /></td>
  </tr>
  <tr>
    <td align="right">年龄:</td>
    <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="tbAge" runat="server" Width="189px"></asp:TextBox>      &nbsp;</td>
  </tr>
  <tr>
    <td align="right">详细地址:</td>
    <td align="left">
       &nbsp;&nbsp;&nbsp; <asp:TextBox ID="detailAddr" runat="server" Width="189px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">联系电话:</td>
    <td align="left">
       &nbsp;&nbsp;&nbsp; <asp:TextBox ID="connNO" runat="server" Width="191px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">E-Mail:</td>
    <td align="left">
       &nbsp;&nbsp;&nbsp; <asp:TextBox ID="tbEmail" runat="server" Width="191px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">我的头像:</td>
    <td align="left">
        &nbsp;&nbsp;&nbsp;&nbsp;<asp:FileUpload ID="FileUpload1" runat="server" />&nbsp;</td>
  </tr>
   <tr>
    <td>&nbsp;</td>
    <td align="left">
       &nbsp;&nbsp;&nbsp; 密码:<asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
        <asp:Button ID="btnSubmit" runat="server" Text="提交" ValidationGroup="dd" />&nbsp;<asp:Button ID="btnClear"
            runat="server" Text="清空" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbPassword"
            ErrorMessage="[请输入密码]" ValidationGroup="dd"></asp:RequiredFieldValidator></td>
  </tr>
</table>
</div>



		<script runat="server">
            protected void on_clickDelete(object sender, EventArgs e)
            {  
                string arg = ((Button)sender).CommandArgument;
                if (confirm.Value == "true")
                {
                    string sql = "DELETE FROM shortMessage WHERE msgID=" + arg;
                    try
                    {
                        do1.executeNonQuery(sql);
                        SqlDataSource1.DataBind();
                        GridView1.DataBind();
                        Response.Redirect("myInfoCenter.aspx?divShortMessage");
                   }
                    catch (Exception ex)
                    {
                        Response.Write(ex.ToString());
                    }
                }
                else
                {
                    Response.Redirect("myInfoCenter.aspx?divShortMessage");
                }
            }
		</script>
		 <script type="text/javascript" language="javascript">
        function confir()
        {
         var c=document.getElementById("confirm");
         if(confirm("您确定要删除吗?"))
            c.value="true";
            else
            c.value="false";
        }
        </script>
		<input type="hidden" id="confirm" runat="server" />
		
		
		
		
		<a name="mes" ></a>
		<div id="divShortMessage"  style="display:none">
		<table width="100%" border="0" cellspacing="0" bordercolor="#eeeeee"  style="border:solid 1px #eeeeee">
  <tr>
    <td colspan="5" valign="middle" class="tdbg_left" align="center"><b>我的短消息</b></td>
    </tr>
  <tr>
    <td width="10%" align="left" style=" background-color:#CCCCCC">&nbsp;主题</td>
    <td width="8%" align="left" style=" background-color:#CCCCCC">&nbsp;来自</td>
   
    <td width="63%" align="left" style=" background-color:#CCCCCC">&nbsp;内容</td>
    <td width="19%" align="left" style=" background-color:#CCCCCC">&nbsp;时间</td>
  </tr>
  <tr>
    <td colspan="5" align="center" style="height: 23px"><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
            DataKeyNames="msgID" ShowHeader="False" PagerStyle-BackColor="#Cfffff" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None"
            Width="100%"  >
      <footerstyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />    
      <columns>
	     <asp:BoundField DataField="title" HeaderText="title" SortExpression="title" >
             <ItemStyle Width="60px" />
         </asp:BoundField>
      <asp:BoundField DataField="fromUserID" HeaderText="fromUserID" SortExpression="fromUserID" >
          <ItemStyle Width="50px" />
      </asp:BoundField>
      <asp:TemplateField>
        <itemtemplate > <%#DataBinder.Eval(Container.DataItem,"contOfMessage") %> </itemtemplate>
          <ItemStyle HorizontalAlign="Left" Width="300px" />
      </asp:TemplateField>
	   <asp:BoundField DataField="generateTime" HeaderText="generateTime" SortExpression="generateTime" >
           <ItemStyle HorizontalAlign="Left" />
       </asp:BoundField>
       <asp:TemplateField>
       <ItemTemplate>
        <asp:Button runat="server" ID="btnDelete" Text="删除" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"msgID") %>' OnClick="on_clickDelete" OnClientClick="confir()" />
       </ItemTemplate>
       </asp:TemplateField>
      </columns>
      <RowStyle BackColor="#EFF3FB" />
      <EditRowStyle BackColor="#2461BF" />
      <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
      <pagerstyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />    
      <headerstyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />    
      <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
      <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:onlinePaimaiConnectionString2 %>"
            SelectCommand="SELECT  *  FROM shortMessage WHERE userID='蔡闻兵'"></asp:SqlDataSource>
&nbsp;</td>
  </tr>
</table>
		</div>
		
		
		
		
		
		
		<div id="myBid" name="show" style="display:none">
		
		<table width="100%" border="0" cellspacing="0" bordercolor="#eeeeee"  style="border:solid 1px #eeeeee">
  <tr>
    <td colspan="5" valign="middle" class="tdbg_left" align="center"><b>我的竞拍管理</b></td>
    </tr>
  <tr>
    <td colspan="5" align="left" valign="middle" class="tdbg_left">
		&nbsp;<asp:Button ID="Button2" runat="server" Text="胜出" CommandArgument="win" OnClick="bidShow_Click" />
        <asp:Button ID="Button3" runat="server" Text="领先" CommandArgument="head" OnClick="bidShow_Click" />
        <asp:Button ID="Button4" runat="server" Text="出局" CommandArgument="out" OnClick="bidShow_Click" />&nbsp;<asp:Button ID="Button5"
            runat="server" Text="所有" CommandArgument="all" OnClick="bidShow_Click" /></td>
    </tr>
  <tr>
    <td width="62%" align="left" style=" background-color:#CCCCCC">&nbsp;拍品名称</td>
    <td width="13%" align="left" style=" background-color:#CCCCCC">&nbsp;我的竞价</td>
   
    <td width="15%" align="left" style=" background-color:#CCCCCC">&nbsp;竞价时间</td>
    <td width="10%" align="left" style=" background-color:#CCCCCC">&nbsp;拍品状态</td>
  </tr>
  <tr>
    <td colspan="5" align="left" style="height: 23px">
        <asp:GridView ID="GridView2" Width="100%" ShowHeader="false" runat="server" AutoGenerateColumns="False" CellPadding="4"
            DataSourceID="SqlDataSource2" ForeColor="#333333" GridLines="None">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
            <asp:TemplateField ItemStyle-Width="360px">
            <ItemTemplate>
   						<a class="link1">
						 <%#(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Trim().Length>30)?(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Substring(0,30)+"..."):DataBinder.Eval(Container.DataItem,"nameOfGoods")%>
						</a>
           </ItemTemplate>
            </asp:TemplateField>
                  <asp:TemplateField>
        <itemtemplate > <%#DataBinder.Eval(Container.DataItem, "myPrice")%><%#DataBinder.Eval(Container.DataItem, "scale")%> </itemtemplate>
          <ItemStyle HorizontalAlign="Left"  />
      </asp:TemplateField>
                <asp:BoundField DataField="bidTime" HeaderText="bidTime" SortExpression="bidTime" />
                <asp:BoundField DataField="bidState" HeaderText="bidState" SortExpression="bidState" />
            </Columns>
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:onlinePaimaiConnectionString2 %>"
            SelectCommand="SELECT goods.nameOfGoods,myPrice,bidTime,bidState,goods.scale  FROM bidOfGoods,goods WHERE goods.goodsID=bidOfGoods.goodsID AND bidOfGoods.bidState='领先' AND userID='鸟'">        </asp:SqlDataSource>    </td>
  </tr>
</table>
		</div>
		
		
		
		
		
		
		<div id="divGoods" name="show" style="display:none">
				<table width="100%" border="0" cellspacing="0" bordercolor="#eeeeee"  style="border:solid 1px #eeeeee">
  <tr>
    <td colspan="5" valign="middle" class="tdbg_left" align="center"><b>我的拍品管理</b></td>
    </tr>
  <tr>
    <td colspan="5" align="left" valign="middle" class="tdbg_left">
		&nbsp;<asp:Button ID="btn" runat="server" Text="拍卖中" CommandArgument="IN" OnClick="btn_Click" />
        <asp:Button ID="btnOver" runat="server" Text="已结束" CommandArgument="over" OnClick="btn_Click" /></td>
    </tr>
  <tr>
    <td width="62%" align="left" style=" background-color:#CCCCCC">&nbsp;拍品名称</td>
    <td width="13%" align="left" style=" background-color:#CCCCCC">&nbsp;现价</td>
   
    <td width="15%" align="left" style=" background-color:#CCCCCC">&nbsp;结束时间</td>
    <td width="10%" align="left" style=" background-color:#CCCCCC">&nbsp;拍品状态</td>
  </tr>
  <tr>
    <td colspan="5" align="left" style="height: 23px">
            <asp:GridView ID="GridView3" runat="server"                                                                                                                                                                                                                                                                 ShowHeader="false" Width="100%" AutoGenerateColumns="False" CellPadding="4"
                DataKeyNames="goodsID" DataSourceID="SqlDataSource3" ForeColor="#333333" GridLines="None">
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <Columns>
            <asp:TemplateField ItemStyle-Width="360px">
            <ItemTemplate>
   						<a class="link1">
						 <%#(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Trim().Length>30)?(((string)DataBinder.Eval(Container.DataItem,"nameOfGoods")).Substring(0,30)+"..."):DataBinder.Eval(Container.DataItem,"nameOfGoods")%>
						</a>
           </ItemTemplate>
            </asp:TemplateField>
                             <asp:TemplateField>
        <itemtemplate > <%#DataBinder.Eval(Container.DataItem, "hightestPrice")%><%#DataBinder.Eval(Container.DataItem, "scale")%> </itemtemplate>
          <ItemStyle HorizontalAlign="Left" />
      </asp:TemplateField>  
                    <asp:BoundField DataField="endTime" HeaderText="endTime" SortExpression="endTime" />
                    <asp:BoundField DataField="state" HeaderText="state" SortExpression="state" />
                </Columns>
                <RowStyle BackColor="#EFF3FB" />
                <EditRowStyle BackColor="#2461BF" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:onlinePaimaiConnectionString2 %>"
                SelectCommand="SELECT nameOfGoods,goodsID,endTime,hightestPrice,state,scale FROM goods WHERE sellUserID='汤军' AND state='拍卖中'">
            </asp:SqlDataSource>
		</td>
  </tr>
</table></div>







            &nbsp;
		</td>
      </tr>
    </table></td>
  </tr>
</table>
        <uc2:Tail ID="Tail1" runat="server" />
        
       
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -