您目前尚未登陆,请选择【登陆】或【注册
首页->影音视频->Asp.net2.0的电影在线点播系统片段源码>>userfavor.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net2.0的电影在线点播系统片段源码
当前文件:文件类型 MovieShowSample/userfavor.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userfavor.aspx.cs" Inherits="userfavor" %> 2<%Response.Buffer = true; Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1); Response.Expires = 0; Response.CacheControl = "no-cache";%> 3 4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 6<html xmlns="http://www.w3.org/1999/xhtml" > 7<head runat="server"> 8<link rel="shortcut icon" href="/MovieShow/Images/Real-doc.ico" type="image/x-icon" /> 9 <title>MovieShow--用户中心</title> 10</head> 11<script language="javascript" type="text/javascript"> 12function select1() 13{ 14 15 document.getElementById("div2").style.display="block"; 16} 17function select2() 18{ 19 document.getElementById("div2").style.display="none"; 20} 21function safe() 22{ 23 if(document.getElementById("TextBox1").value=="") 24 alert("请输入密码!"); 25 else if((document.getElementById("TextBox2").value)!=(document.getElementById("TextBox1").value)) 26 alert("两次密码输入不一致!"); 27 else 28 { 29 var txt1=document.getElementById("TextBox1").value; 30 31 //var txt2=document.getElementById("TextBox2").value; 32 var txt3=document.getElementById("TextBox3").value; 33 var txt4=document.getElementById("TextBox5").value; 34 var txt5=document.getElementById("TextBox6").value; 35 var context=document.getElementById("Label7"); 36 var arg="safe|"+txt1+"|"+txt3+"|"+txt4+"|"+txt5; 37 context.innerHTML= "<IMG SRC='/MovieShow/Images/pie.gif' />Loading..."; 38 39 <%= ClientScript.GetCallbackEventReference(this, "arg", "ReceiveServerData", "context")%>; 40 41 } 42} 43 function ReceiveServerData(result, context) 44 {  45 context.innerHTML =result; 46 } 47</script> 48<body> 49 <form id="form1" runat="server"> 50 <div style=" width:820px; height:150px;left: 108px; top: 4px; z-index: 101; position: absolute;" > 51 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="820" height="150"> 52 <param name="movie" value="/MovieShow/Navigation/Head.swf" /> 53 <param name="quality" value="high" /> 54 <param name="wmode" value="transparent" /> 55 <embed src="/MovieShow/Navigation/Head.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 56 </object> 57</div> 58 <div> 59 <div id="div1" style=" background-image:url(/MovieShow/Images/userfavor.jpg);z-index: 102; left: 188px; width: 764px; position: absolute; top: 156px; 60 height: 496px"> 61 <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/scj.gif" Style="z-index: 100; 62 left: 56px; position: absolute; top: 192px" /> 63 <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/info.gif" Style="z-index: 101; 64 left: 56px; position: absolute; top: 292px" /> 65 66 <asp:Label ID="Label1" runat="server" Style="z-index: 102; left: 260px; position: absolute; 67 top: 112px" Text="新密码:"></asp:Label> 68 <asp:Label ID="Label2" runat="server" Style="z-index: 103; left: 244px; position: absolute; 69 top: 148px" Text="重复密码:"></asp:Label> 70 <asp:Label ID="Label3" runat="server" Style="z-index: 104; left: 268px; position: absolute; 71 top: 184px" Text="Email:"></asp:Label> 72 &nbsp; 73 <asp:Label ID="Label5" runat="server" Style="z-index: 106; left: 276px; position: absolute; 74 top: 220px" Text="电话:"></asp:Label> 75 <asp:Label ID="Label6" runat="server" Style="z-index: 107; left: 288px; position: absolute; 76 top: 252px" Text="qq:" Height="8px" Width="1px"></asp:Label> 77 <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 108; left: 336px; position: absolute; 78 top: 108px" TextMode="Password"></asp:TextBox> 79 <asp:TextBox ID="TextBox2" runat="server" Style="z-index: 109; left: 336px; position: absolute; 80 top: 144px" TextMode="Password"></asp:TextBox> 81 <asp:TextBox ID="TextBox3" runat="server" Style="z-index: 110; left: 336px; position: absolute; 82 top: 180px"></asp:TextBox> 83 &nbsp; 84 <asp:TextBox ID="TextBox5" runat="server" Style="z-index: 112; left: 336px; position: absolute; 85 top: 216px"></asp:TextBox> 86 <asp:TextBox ID="TextBox6" runat="server" Style="z-index: 113; left: 336px; position: absolute; 87 top: 252px"></asp:TextBox> 88 <asp:Button ID="Button1" runat="server" Style="z-index: 114; left: 284px; position: absolute; 89 top: 316px" Text="提交" Width="40px" /> 90 <asp:Label ID="Label7" runat="server" Style="z-index: 116; left: 340px; position: absolute; 91 top: 320px"></asp:Label> 92 </div> 93 <div id="div2" style=" background-image:url(/MovieShow/Images/userfavor1.jpg); z-index: 108; left: 422px; width: 424px; position: absolute; top: 160px; 94 height: 480px"> 95 <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 96 AutoGenerateColumns="False" CellPadding="4" 97 ForeColor="#333333" GridLines="None" Height="1px" PageSize="15" Style="z-index: 100; 98 left: 8px; position: absolute; top: 56px" Width="408px" OnRowCreated="GridView1_RowCreated" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" ShowFooter="True"> 99 <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Size="Small" Height="5px" /> 100 <Columns> 101 <asp:TemplateField HeaderText="电影名称"> 102 <ItemTemplate> 103 <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "FilmDetails.aspx?FilmID="+DataBinder.Eval(Container.DataItem,"FilmID") %>' 104 Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmName") %>'></asp:HyperLink> 105 </ItemTemplate> 106 </asp:TemplateField> 107 <asp:TemplateField HeaderText="上映时间"> 108 <ItemTemplate> 109 <asp:Label ID="Label4" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmTime") %>'></asp:Label> 110 </ItemTemplate> 111 </asp:TemplateField> 112 <asp:TemplateField HeaderText="电影序号"> 113 <ItemTemplate> 114 <asp:Label ID="Label8" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmID") %>'></asp:Label> 115 </ItemTemplate> 116 </asp:TemplateField> 117 <asp:TemplateField HeaderText="删除" ShowHeader="False"> 118 <ItemTemplate> 119 <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"FilmID") %>' 120 Text="删除"></asp:LinkButton> 121 </ItemTemplate> 122 </asp:TemplateField> 123 </Columns> 124 <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Size="Smaller" HorizontalAlign="Center" /> 125 <EditRowStyle BackColor="#999999" /> 126 <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> 127 <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> 128 <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="WhiteSmoke" Font-Size="Small" Height="5px" VerticalAlign="Top" Width="5px" /> 129 <AlternatingRowStyle BackColor="White" ForeColor="#284775" Height="5px" /> 130 <PagerSettings Visible="False" /> 131 <EmptyDataTemplate> 132 &nbsp; &nbsp;<br /> 133 &nbsp; &nbsp; &nbsp; 134 <asp:Label ID="Label9" runat="server" Style="position: static" Text="您还没有收藏电影!"></asp:Label> 135 </EmptyDataTemplate> 136 </asp:GridView> 137 </div> 138 <div style=" background-image:url(/MovieShow/Images/foot.jpg);z-index: 109; left: 0px; width: 156px; position: absolute; top: 496px; 139 height: 172px"> 140 </div> 141 </div> 142 </form> 143</body> 144</html> 145
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:Asp.net2.0的电影在线点播系统片段源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号