温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:某高校团委在线报名系统源码
当前文件:
TuanWeiBaoMing/user_modify_0.aspx,打开代码结构图
TuanWeiBaoMing/user_modify_0.aspx,打开代码结构图1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="user_modify_0.aspx.cs" Inherits="user_modify_0" Title="数据修改" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<div style="text-align: center"> 4
<table height="100"> 5
<tr> 6
<td style="width: 100px"> 7
</td> 8
<td style="width: 100px"> 9
</td> 10
<td style="width: 100px"> 11
</td> 12
</tr> 13
<tr> 14
<td style="width: 100px"> 15
</td> 16
<td style="width: 100px"> 17
</td> 18
<td style="width: 100px"> 19
</td> 20
</tr> 21
<tr> 22
<td style="width: 100px"> 23
</td> 24
<td style="width: 100px"> 25
</td> 26
<td style="width: 100px"> 27
</td> 28
</tr> 29
</table> 30
<div style="text-align: center"> 31
<table border="0" cellpadding="0" cellspacing="0"> 32
<tr> 33
<td align="right" style="width: 338px; height: 24px"> 34
学校邮箱:</td> 35
<td style="width: 238px; height: 24px"> 36
<asp:TextBox ID="tb_email" runat="server"></asp:TextBox></td> 37
<td align="right" style="width: 100px; height: 24px"> 38
密 码:</td> 39
<td align="right" style="width: 126px; height: 24px"> 40
<asp:TextBox ID="tb_mima" runat="server" TextMode="Password"></asp:TextBox></td> 41
<td align="center" style="width: 128px; height: 24px"> 42
<asp:Button ID="Button1" runat="server" Text="登陆" OnClick="Button1_Click" /> 43
</td> 44
<td align="right" style="width: 119px; height: 24px"> 45
</td> 46
</tr> 47
</table> 48
<br /> 49
<asp:GridView ID="GridView1" runat="server" DataSourceID="AccessDataSource1" AutoGenerateColumns="False" DataKeyNames="编号" Visible="False" AllowPaging="True" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="80%"> 50
<Columns> 51
<asp:BoundField DataField="编号" HeaderText="编号" InsertVisible="False" ReadOnly="True" 52
SortExpression="编号" /> 53
<asp:BoundField DataField="youxiang" HeaderText="邮箱" SortExpression="youxiang" /> 54
<asp:BoundField DataField="mima" HeaderText="密码" SortExpression="mima" /> 55
</Columns> 56
<FooterStyle BackColor="#CCCC99" /> 57
<RowStyle BackColor="#F7F7DE" /> 58
<SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" /> 59
<PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" /> 60
<HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" /> 61
<AlternatingRowStyle BackColor="White" /> 62
</asp:GridView> 63
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/itbm.mdb" SelectCommand="SELECT [编号], [youxiang], [mima] FROM [myliuyan] WHERE (([youxiang] = ?) AND ([mima] = ?))"> 64
<SelectParameters> 65
<asp:ControlParameter ControlID="tb_email" Name="youxiang" PropertyName="Text" Type="String" /> 66
<asp:ControlParameter ControlID="tb_mima" Name="mima" PropertyName="Text" Type="String" /> 67
</SelectParameters> 68
</asp:AccessDataSource> 69
</div> 70
</div> 71
</asp:Content> 72
73




