无法实现下一页翻转
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="ticket.css" type="text/css" rel="stylesheet">
</HEAD>
<body style="BACKGROUND-IMAGE: url(image/Top_table_bg.gif); BACKGROUND-REPEAT: repeat">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD colSpan="1">请选择演出类别:
<asp:dropdownlist id="listClass" runat="server"></asp:dropdownlist><br>
</TD>
</TR>
<TR>
<TD><asp:datagrid id="dgConcert" runat="server" ShowFooter="True" AllowPaging="True" AutoGenerateColumns="False"
Width="100%">
<Columns>
<asp:TemplateColumn HeaderText="演出名称">
<ItemTemplate>
<asp:Label id=Label2 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.concert_name").ToString()) %>'>
</asp:Label>
<asp:Label id=lab_id runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_id") %>' Enabled="False" Visible="False">
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="演出时间/截止时间">
<ItemTemplate>
<asp:Label id=Label3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_time") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="演出地点">
<ItemTemplate>
<asp:Label id=Label4 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_address") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="类别">
<ItemTemplate>
<asp:Label id=Label5 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concer_class") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="票价">
<ItemTemplate>
<asp:Label id=Label6 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.ticket_price").ToString()) %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="订票热线">
<ItemTemplate>
<asp:Label id=Label7 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ticket_hotLine") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="出票状态">
<ItemTemplate>
<asp:CheckBox id=CheckBox1 runat="server" Enabled="False" Checked='<%# DataBinder.Eval(Container, "DataItem.ticket_state") %>'>
</asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="观赏指数">
<ItemTemplate>
<asp:Label id=Label8 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.look_index") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="内容介绍">
<ItemTemplate>
<asp:Label id=Label9 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.concer_detail").ToString()) %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
··············
因为字数限制,以下省略,更多看附件内的txt文档,谢谢大家啦
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="ticket.css" type="text/css" rel="stylesheet">
</HEAD>
<body style="BACKGROUND-IMAGE: url(image/Top_table_bg.gif); BACKGROUND-REPEAT: repeat">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD colSpan="1">请选择演出类别:
<asp:dropdownlist id="listClass" runat="server"></asp:dropdownlist><br>
</TD>
</TR>
<TR>
<TD><asp:datagrid id="dgConcert" runat="server" ShowFooter="True" AllowPaging="True" AutoGenerateColumns="False"
Width="100%">
<Columns>
<asp:TemplateColumn HeaderText="演出名称">
<ItemTemplate>
<asp:Label id=Label2 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.concert_name").ToString()) %>'>
</asp:Label>
<asp:Label id=lab_id runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_id") %>' Enabled="False" Visible="False">
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="演出时间/截止时间">
<ItemTemplate>
<asp:Label id=Label3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_time") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="演出地点">
<ItemTemplate>
<asp:Label id=Label4 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concert_address") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="类别">
<ItemTemplate>
<asp:Label id=Label5 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.concer_class") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="票价">
<ItemTemplate>
<asp:Label id=Label6 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.ticket_price").ToString()) %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="订票热线">
<ItemTemplate>
<asp:Label id=Label7 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ticket_hotLine") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="出票状态">
<ItemTemplate>
<asp:CheckBox id=CheckBox1 runat="server" Enabled="False" Checked='<%# DataBinder.Eval(Container, "DataItem.ticket_state") %>'>
</asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="观赏指数">
<ItemTemplate>
<asp:Label id=Label8 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.look_index") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="内容介绍">
<ItemTemplate>
<asp:Label id=Label9 runat="server" Text='<%# ticket.address.CutString(DataBinder.Eval(Container, "DataItem.concer_detail").ToString()) %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateColumn>
··············
因为字数限制,以下省略,更多看附件内的txt文档,谢谢大家啦