温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:狂龙通讯录管理系统2.0源码
当前文件:
KuangLongCommunicationV2/DeleteData.aspx[3K,2009-6-12 11:46:37],打开代码结构图
KuangLongCommunicationV2/DeleteData.aspx[3K,2009-6-12 11:46:37],打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeleteData.aspx.cs" Inherits="DeleteData" %> 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>狂龙通讯录管理系统V2.0</title> 8
<link href="Styles/Style.css" rel=stylesheet type="text/css" /> 9
10
</head> 11
<body> 12
<form id="form1" runat="server"> 13
<div align=center style="background-color: white"> 14
<table> 15
<tr> 16
<td align=center style="width: 683px"> 17
<h1> 18
<span style="font-family: 楷体_GB2312">删除好友信息</span></h1></td> 19
</tr> 20
<tr> 21
<td style="width: 683px"> 22
<asp:GridView ID="GridView1" runat="server" Width="740px" AutoGenerateColumns="False" CellPadding="3" OnRowDeleting="GridView1_RowDeleting" PageSize="5" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"> 23
<FooterStyle BackColor="White" ForeColor="#000066" /> 24
<Columns> 25
<asp:TemplateField HeaderText="ID" Visible="False"> 26
<ItemTemplate> 27
<asp:Label ID="Label1" runat="server" Text='<%#Bind("id") %>'>"></asp:Label> 28
</ItemTemplate> 29
</asp:TemplateField> 30
<asp:BoundField DataField="userId" HeaderText="用户名" /> 31
<asp:BoundField DataField="frdName" HeaderText="好友姓名" /> 32
<asp:BoundField DataField="frdPhone" HeaderText="电话" /> 33
<asp:BoundField DataField="frdMobilePhone" HeaderText="移动电话" /> 34
<asp:BoundField DataField="frdAddress" HeaderText="地址" /> 35
<asp:BoundField DataField="frdQQ" HeaderText="QQ" /> 36
<asp:BoundField DataField="frdEmail" HeaderText="Email" /> 37
<asp:BoundField DataField="frdImageUrl" HeaderText="图片名称" /> 38
<asp:BoundField DataField="CreateDate" HeaderText="创建时间" /> 39
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" /> 40
</Columns> 41
<RowStyle ForeColor="#000066" /> 42
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /> 43
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="right" /> 44
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" /> 45
</asp:GridView> 46
<asp:Label ID="lblmsg" runat="server" Width="670px"></asp:Label></td> 47
48
</tr> 49
<tr> 50
<td align=right style="width: 683px"> 51
<asp:Button ID="BtnfirstPage" runat="server" Text="首页" OnClick="BtnfirstPage_Click" Width="80px" /> 52
<asp:Button ID="Btngoup" runat="server" Text="上一页" OnClick="Btngoup_Click" Width="80px" /> 53
<asp:Button ID="Btndescend" runat="server" Text="下一页" OnClick="Btndescend_Click" Width="80px" /> 54
<asp:Button ID="Btnretrusive" runat="server" Text="尾页" OnClick="Btnretrusive_Click" Width="80px" /> 55
</td> 56
</tr> 57
</table> 58
59
</div> 60
</form> 61
</body> 62
</html> 63




