温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日供求信息网源码
当前文件:
MingriGongQiu/BackGround/DeleteInfo.aspx,打开代码结构图
MingriGongQiu/BackGround/DeleteInfo.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeleteInfo.aspx.cs" Inherits="BackGround_DeleteInfo" %> 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
<link href="../Css/StyleSheet.css" rel="stylesheet" type="text/css" /> 9
</head> 10
<body> 11
<form id="form1" runat="server"> 12
<div align="right"> 13
<asp:Label ID="lblPageSum" runat="server" Text="当前页为 1 / 10 页"></asp:Label> 14
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 15
CellPadding="3" ForeColor="#333333" GridLines="None" Height="1px" OnPageIndexChanging="GridView1_PageIndexChanging" 16
OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" 17
OnSelectedIndexChanging="GridView1_SelectedIndexChanging" Width="800px" PageSize="24"> 18
<PagerSettings FirstPageText="第一页" LastPageText="末一页" Mode="NextPreviousFirstLast" 19
NextPageText="下一页" PreviousPageText="上一页" /> 20
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="type" HeaderText="信息类型"> 23
<ItemStyle Width="60px" HorizontalAlign="Left" /> 24
</asp:BoundField> 25
<asp:BoundField DataField="title" HeaderText="信息标题"> 26
<ItemStyle Width="100px" HorizontalAlign="Left" /> 27
<HeaderStyle HorizontalAlign="Left" /> 28
</asp:BoundField> 29
<asp:BoundField DataField="info" HeaderText="信息内容"> 30
<HeaderStyle HorizontalAlign="Left" /> 31
<ItemStyle HorizontalAlign="Left" /> 32
</asp:BoundField> 33
<asp:BoundField DataField="LinkMan" HeaderText="联系人"> 34
<ItemStyle Width="60px" HorizontalAlign="Left" /> 35
<HeaderStyle HorizontalAlign="Left" /> 36
</asp:BoundField> 37
<asp:BoundField DataField="tel" HeaderText="联系电话"> 38
<ItemStyle Width="80px" HorizontalAlign="Left" /> 39
<HeaderStyle HorizontalAlign="Left" /> 40
</asp:BoundField> 41
<asp:BoundField DataField="checkState" HeaderText="审核状态"> 42
<ItemStyle Width="60px" HorizontalAlign="Left" /> 43
<HeaderStyle HorizontalAlign="Left" /> 44
</asp:BoundField> 45
<asp:CommandField HeaderText="详细信息" SelectText="详细" ShowSelectButton="True"> 46
<ItemStyle HorizontalAlign="Center" Width="60px" /> 47
</asp:CommandField> 48
<asp:CommandField HeaderText="删除信息" ShowDeleteButton="True"> 49
<ItemStyle HorizontalAlign="Center" Width="60px" /> 50
</asp:CommandField> 51
</Columns> 52
<RowStyle BackColor="#E3EAEB" /> 53
<EditRowStyle BackColor="#7C6F57" /> 54
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="False" ForeColor="#333333" /> 55
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Right" /> 56
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /> 57
<AlternatingRowStyle BackColor="White" /> 58
</asp:GridView> 59
</div> 60
</form> 61
</body> 62
</html> 63



