温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Web图片管理系统代码
当前文件:
PictureManager/Edit.aspx,打开代码结构图
PictureManager/Edit.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Edit" %> 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
<title> 编辑目录</title> 8
</head> 9
<body> 10
<form id="form1" runat="server"> 11
<div> 12
<table style="width: 477px"> 13
<tr> 14
<td align="center" colspan="3" style="width: 539px"> 15
名称修改</td> 16
</tr> 17
<tr> 18
<td colspan="3" style="height: 20px; width: 539px;"> 19
20
<asp:Label ID="Label2" runat="server" Height="18px" Text="旧名称:" Width="64px"></asp:Label> 21
22
<asp:TextBox ID="TextBox1" runat="server" Height="22px" Width="155px"></asp:TextBox></td> 23
</tr> 24
<tr> 25
<td colspan="3" style="width: 539px"> 26
<asp:Label ID="Label1" runat="server" Text="新名称:"></asp:Label> <asp:TextBox 27
ID="tbxDirName" runat="server" CausesValidation="True" Height="22px" Width="155px"></asp:TextBox> <asp:RequiredFieldValidator 28
ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxDirName" ErrorMessage="*名称不能为空"></asp:RequiredFieldValidator> 29
</td> 30
</tr> 31
<tr> 32
<td align="center" colspan="3" style="width: 539px"> 33
<asp:Button ID="btnEdit" runat="server" OnClick="btnEdit_Click" Text="修改" /> 34
<asp:Button ID="btnReturn" runat="server" OnClick="btnReturn_Click" 35
Text="返回" CausesValidation="False" /></td> 36
</tr> 37
</table> 38
39
</div> 40
</form> 41
</body> 42
</html> 43



