<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tixing.aspx.cs" Inherits="jiaowu.bangong.tixing" %>

<%@ Register src="../fenye.ascx" tagname="fenye" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
    <script src="../ckeditor/ckeditor.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
         <div class="place">
        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px">
        </asp:SiteMapPath>
        </div>
    </div>
        <span class="center_title_1">	
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr align="right">
                <td  width="95%"><asp:CheckBox ID="CheckBox2" runat="server" 
            AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
        </span>
        <img height="14" src="../images/001.gif" width="14" />
        <asp:LinkButton ID="lbadd" runat="server" PostBackUrl="tixingadd.aspx" Text="新增" >新增</asp:LinkButton>
        <img height="14" src="../images/010.gif" width="14" />
        <asp:LinkButton ID="lbdel" runat="server" onclick="LinkButton1_Click" 
            OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;</td>
            </tr>
        </table>
					    </span>
    <asp:Calendar ID="Calendar1"  runat="server" OnDayRender="Calendar1_DayRender" OnSelectionChanged="Calendar1_SelectionChanged"
         OnVisibleMonthChanged="Calendar1_VisibleMonthChanged" Width="962px" 
        Height="277px" ></asp:Calendar>
        <asp:GridView ID="gdv" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False"
                        CssClass="sys_grid"  OnSorting="gdv_Sorting" 
            OnRowDeleting="gdv_RowDeleting"  Width="100%" EmptyDataText="没有或没有符合条件的日程信息！">
             <HeaderStyle CssClass="sys_grid_head_cell"/>
            <Columns>
             <asp:TemplateField HeaderText="全选">
                            <ItemTemplate>
                             <asp:CheckBox ID="CheckBox1" runat="server" />
                            </ItemTemplate>
                            </asp:TemplateField>
                <asp:BoundField DataField="shijian" HeaderText="日期" SortExpression="shijian" DataFormatString={0:yyyy-MM-dd}/>                            
                <asp:BoundField DataField="title" HeaderText="标题" SortExpression="title" />
                <asp:BoundField DataField="content" HeaderText="内容"  SortExpression="content"/>
                <asp:BoundField DataField="tixing" HeaderText="是否提醒" SortExpression="tixing"/>
                <asp:BoundField DataField="shi" HeaderText="提醒时间"  SortExpression="shi"/>
                 <asp:CommandField HeaderText="删除" ShowCancelButton="False" 
                                ShowDeleteButton="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除日程吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>  
            </Columns>
            <PagerSettings Visible=false />
            <RowStyle HorizontalAlign="Center" Height="25px" />
        </asp:GridView>
       <uc1:fenye ID="fenye1" runat="server" />    
    </form>
</body>
</html>
