-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.aspx
35 lines (34 loc) · 2.27 KB
/
Program.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true"
CodeFile="Program.aspx.cs" Inherits="Program" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="right01">
<img src="images/04.gif" />
节目管理> <span>节目信息查询</span></div>
<div class="controlarea ">
<asp:GridView ID="GridView1" runat="server" EnableModelValidation="True" AutoGenerateColumns="False"
DataKeyNames="ProgramID" HorizontalAlign="Center" OnRowCancelingEdit="GridView1_RowCancelingEdit"
OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating"
BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2"
ForeColor="Black" GridLines="None" Width="80%">
<AlternatingRowStyle BackColor="PaleGoldenrod" />
<Columns>
<asp:BoundField DataField="ProgramID" HeaderText="节目编号" ReadOnly="True" />
<asp:HyperLinkField DataNavigateUrlFields="ProgramID" DataNavigateUrlFormatString="programView.aspx?id={0}"
DataTextField="ProgramName" HeaderText="节目名称" />
<asp:BoundField DataField="ProgramUrl" HeaderText="节目地址" />
<asp:HyperLinkField DataNavigateUrlFields="ChannelID" DataNavigateUrlFormatString="channelView.aspx?id={0}"
DataTextField="ChannelID" HeaderText="所属频道" />
<asp:BoundField DataField="BeginTime" HeaderText="开始时间" />
<asp:BoundField DataField="EndTime" HeaderText="结束时间" />
<asp:CommandField ShowEditButton="True" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<FooterStyle BackColor="Tan" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
</asp:GridView>
</div>
</asp:Content>