温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net2.0的电影在线点播系统片段源码
当前文件:
MovieShowSample/Messages.aspx,打开代码结构图
MovieShowSample/Messages.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Messages.aspx.cs" Inherits="Messages" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<link rel="shortcut icon" href="/MovieShow/Images/Real-doc.ico" type="image/x-icon" /> 8
<title>MovieShow--留言版</title> 9
<script language="javascript" type="text/javascript"> 10
function clean() 11
{ 12
document.getElementById("TextBox1").value=""; 13
document.getElementById("TextBox2").value=""; 14
15
} 16
17
</script> 18
</head> 19
<body> 20
<form id="form1" runat="server"> 21
<div style=" background-image:url(/MovieShow/Images/message.jpg); width: 1000px; position: absolute; 22
height: 760px; z-index: 102; left: 0px; top: 0px;"> 23
24
<asp:Button ID="Button1" runat="server" Style="z-index: 100; left: 84px; position: absolute; 25
top: 832px" Text="发送" Width="52px" Font-Bold="True" OnClick="Button1_Click" /> 26
<div style="z-index: 116; left: 369px; width: 488px; position: absolute; top: 92px; 27
height: 100px"> 28
<asp:DataList ID="DataList1" runat="server" Style="position: static" ShowFooter="False" ShowHeader="False" OnDataBinding="DataList1_DataBinding" OnItemDataBound="DataList1_ItemDataBound"> 29
<ItemTemplate> 30
<div style=" background-image:url(/MovieShow/Images/messageHead.jpg);width: 488px; position: static; height: 36px; font-size: 12px; vertical-align: middle; color: #808080; text-align: justify;"> 31
<asp:Label ID="Label5" runat="server" Height="20px" Style="position: static" Width="40px"></asp:Label> 32
<asp:Label ID="Label3" runat="server" Style="position: static" Text="留言者:" 33
Width="48px"></asp:Label> 34
<asp:Label ID="Label1" runat="server" Style="position: static" 35
Text='<%# DataBinder.Eval(Container.DataItem,"name") %>' Width="36px"></asp:Label> 36
<asp:Label ID="Label6" runat="server" Style="position: static" Width="190px"></asp:Label> 37
<asp:Label ID="Label4" runat="server" Style="position: static" 38
Text="留言时间:"></asp:Label> 39
<asp:Label ID="Label2" runat="server" Style="position: static" 40
Text='<%# DataBinder.Eval(Container.DataItem,"time") %>'></asp:Label></div> 41
42
<asp:Label ID="Label7" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"message") %>'></asp:Label> <div 43
style="width: 80px; position: static; height: 80px" id="DIV1" runat="server"> 44
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 80px; height: 80px"> 45
<param name="movie" value='<%# DataBinder.Eval(Container.DataItem,"face") %>' /> 46
<param name="quality" value="high" /> 47
<param name="wmode" value="transparent" /> 48
<embed src='<%# DataBinder.Eval(Container.DataItem,"time") %>' width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 49
</object> 50
</div> 51
<br /> 52
</ItemTemplate> 53
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Size="12px" 54
Font-Strikeout="False" Font-Underline="False" Wrap="True" /> 55
</asp:DataList></div> 56
<asp:Label ID="Label9" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 101; 57
left: 0px; position: absolute; top: 592px" Text="昵称:" Width="52px"></asp:Label> 58
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 102; left: 72px; position: absolute; 59
top: 588px" Width="252px"></asp:TextBox> 60
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Smaller" Style="z-index: 103; 61
left: -2px; position: absolute; top: 632px" Text="评论内容:"></asp:Label> 62
<asp:TextBox ID="TextBox2" runat="server" Height="160px" Style="z-index: 104; left: 72px; 63
position: absolute; top: 632px" TextMode="MultiLine" Width="252px"></asp:TextBox> 64
<asp:Button ID="Button2" runat="server" Font-Bold="True" Font-Size="Smaller" OnClick="Button2_Click" 65
Style="z-index: 105; left: 216px; position: absolute; top: 832px" Text="重置" Width="56px" /> 66
<asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Size="Smaller" Style="z-index: 106; 67
left: 0px; position: absolute; top: 536px" Text="表情:" Width="44px"></asp:Label> 68
<div style="z-index: 117; left: 52px; width: 312px; position: absolute; top: 524px; 69
height: 36px"> 70
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 71
<param name="movie" value="/MovieShow/face/1.swf" /> 72
<param name="quality" value="high" /> 73
<param name="wmode" value="transparent" /> 74
<embed src="/MovieShow/face/1.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 75
</object> 76
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 77
<param name="movie" value="/MovieShow/face/2.swf" /> 78
<param name="quality" value="high" /> 79
<param name="wmode" value="transparent" /> 80
<embed src="/MovieShow/face/2.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 81
</object> 82
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 83
<param name="movie" value="/MovieShow/face/3.swf" /> 84
<param name="quality" value="high" /> 85
<param name="wmode" value="transparent" /> 86
<embed src="/MovieShow/face/3.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 87
</object> 88
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 89
<param name="movie" value="/MovieShow/face/4.swf" /> 90
<param name="quality" value="high" /> 91
<param name="wmode" value="transparent" /> 92
<embed src="/MovieShow/face/4.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 93
</object> 94
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 95
<param name="movie" value="/MovieShow/face/5.swf" /> 96
<param name="quality" value="high" /> 97
<param name="wmode" value="transparent" /> 98
<embed src="/MovieShow/face/5.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 99
</object> 100
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 101
<param name="movie" value="/MovieShow/face/6.swf" /> 102
<param name="quality" value="high" /> 103
<param name="wmode" value="transparent" /> 104
<embed src="/MovieShow/face/6.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 105
</object> 106
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 107
<param name="movie" value="/MovieShow/face/7.swf" /> 108
<param name="quality" value="high" /> 109
<param name="wmode" value="transparent" /> 110
<embed src="/MovieShow/face/7.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 111
</object> 112
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 32px; height: 32px"> 113
<param name="movie" value="/MovieShow/face/8.swf" /> 114
<param name="quality" value="high" /> 115
<param name="wmode" value="transparent" /> 116
<embed src="/MovieShow/face/8.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> 117
</object> 118
</div> 119
<asp:RadioButton ID="b1" runat="server" Style="z-index: 107; left: 56px; 120
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /><asp:RadioButton ID="b2" runat="server" Style="z-index: 108; left: 88px; 121
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 122
<asp:RadioButton ID="b3" runat="server" Style="z-index: 109; left: 120px; 123
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 124
<asp:RadioButton ID="b4" runat="server" Style="z-index: 110; left: 152px; 125
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 126
<asp:RadioButton ID="b5" runat="server" Style="z-index: 111; left: 184px; 127
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 128
<asp:RadioButton ID="b6" runat="server" Style="z-index: 112; left: 216px; 129
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 130
<asp:RadioButton ID="b7" runat="server" Style="z-index: 113; left: 248px; 131
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 132
<asp:RadioButton ID="b8" runat="server" Style="z-index: 114; left: 276px; 133
position: absolute; top: 560px" Width="16px" Font-Size="XX-Small" GroupName="1" Height="20px" /> 134
<asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" Font-Size="Smaller" 135
NavigateUrl="~/Default.aspx" Style="z-index: 118; left: 68px; position: absolute; 136
top: 28px">返回首页</asp:HyperLink> 137
138
</div> 139
140
</form> 141
</body> 142
</html> 143




}
