<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web.m.dcopen._default"   validateRequest="false"%>

<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title>OA标题页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link type="text/css" rel="stylesheet" href="/css/reset.css" />
<link type="text/css" rel="stylesheet" href="/css/base.css" />
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<style type="text/css">
   #newsArticle img{width:100%!important;height:auto!important;max-width:640px;}
  </style>
</head>
<body class="bg2">
    <form id="fom" runat="server">
    <section id="container">
    <div class="space-10"></div>
    <section class="bg-fff pad9 marLR9 opacity summary">
      <h3 class="color-black bold lineH17 padLR3"> 
      <!--此处添加标题（小字）-->
      <asp:Label ID="lbbiaoti" runat="server" ></asp:Label> 
      	</h3>
    <div class="space-10"></div>
        <h2 class="f17 color-black bold lineH22 padLR3">
        <!--此处添加标题（大字）-->

        </h2>
        <div class="padLR3 oh"><span class="fr pointer fontSize" id="fontSize">大字</span></div>
        <article class="newsArticle" id="newsArticle">
            <div class="tc onePic">
          </div>
            <p class="color-black padLR6 marB5">
   <!--此处添加正文-->

    
     <div id = "zong" runat ="server" >
<div style =" margin-top :10px; margin-bottom :10px">
    <asp:Label ID="Label12" runat="server" ></asp:Label>
<asp:DropDownList ID="ddlProject" runat="server" 
        AutoPostBack="True" onselectedindexchanged="ddlProject_SelectedIndexChanged">
    </asp:DropDownList>
    <asp:Label ID="lbStaffid" runat="server" Visible ="false" ></asp:Label>
</div> 
            <asp:Panel ID="Panel1" runat="server">
<div style =" text-align :center; font-size :16px; font-weight :bold ;  margin-bottom :20px; ">
    <asp:Label ID="lbTitle" runat="server"  ></asp:Label></div>
                <div id ="divRemarks" runat ="server"  style ="width :100%; padding :5px 5px 5px 5px"  ></div>
            <!--这里添加内容 -->

<asp:DataList ID="DataList1" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" 
        onitemdatabound="DataList1_ItemDataBound">
                   <AlternatingItemStyle BackColor="White" />
                   <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <ItemStyle BackColor="#E3EAEB" CssClass="td10" />
                   <ItemTemplate>
                    <div class ="div5 "><asp:Label ID="lbOrder" runat="server" Text='<%# Bind("columnorder") %>' ></asp:Label><asp:Label ID="Label5" runat="server" Text='<%# Bind("projectname") %>' ></asp:Label> 
                  &nbsp;<asp:Label ID="Label11" runat="server" Text='<%# Eval("remarks")==""?"":"("+Eval("remarks")+")" %>' ></asp:Label>
                    <asp:Label ID="lbNecessary" runat="server" Text='（必填）' ForeColor ="Red" Visible ="false"  ></asp:Label>
                         <asp:Label ID="lbNecessary1" runat="server" Text='<%# Bind("necessary") %>' ForeColor ="Red" Visible ="false"  ></asp:Label>
                              <asp:Label ID="lbRepeat" runat="server" Text='<%# Bind("repeat") %>' ForeColor ="Red" Visible ="false"  ></asp:Label>
                      </div> 
                       
           
                    <asp:Label ID="lbColumnname" runat="server" Text='<%# Bind("columnname") %>' Visible ="false" ></asp:Label>
                    <asp:Label ID="Lablecolumntype" runat="server" Text='<%# Bind("columntype") %>' Visible ="false" ></asp:Label>
                   <asp:Label ID="lbItems" runat="server" Text='<%# Bind("Items") %>' Visible ="false" ></asp:Label>

                       <div><asp:TextBox ID="tbItem" runat="server"  Width ="100%" TextMode="MultiLine" Height="40px" Visible ="false" ></asp:TextBox></div>
                       <asp:RadioButtonList ID="rbItem" runat="server" Visible ="false"  CssClass="item">
                    
                       </asp:RadioButtonList>
                       <asp:CheckBoxList ID="cbItem" runat="server" Visible ="false"  CssClass="item">
                       </asp:CheckBoxList>

             
                       <asp:DropDownList ID="ddlItem" runat="server" Visible ="false" CssClass ="item"></asp:DropDownList>

                       <asp:Calendar ID="cldItem" Visible ="false"  runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="250px" NextPrevFormat="ShortMonth" Width="100%">
        <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
        <DayStyle BackColor="#CCCCCC" />
        <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
        <OtherMonthDayStyle ForeColor="#999999" />
        <SelectedDayStyle BackColor="#333399" ForeColor="White" />
        <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt" ForeColor="White" Height="12pt" />
        <TodayDayStyle BackColor="#999999" ForeColor="White" />
    </asp:Calendar>      
                   
                       
                   </ItemTemplate>
                   <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                </asp:DataList>
            
   <div class = "td10"  style = " text-align :center "><asp:Button ID="btSave" runat="server" Text="提交" onclick="btSave_Click" /></div> 

</asp:Panel> 
                 <asp:Panel ID="Panel2" runat="server" Visible ="false" >
            <asp:DataList ID="DataList2" runat="server" Width="100%" CellPadding="4" 
                    ForeColor="#333333" OnItemDataBound="DataList2_ItemDataBound1">
                   <AlternatingItemStyle BackColor="White" />
                   <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                   <ItemStyle BackColor="#E3EAEB" CssClass="td10" />
                   <ItemTemplate>

                       
           
                <div style ="margin-bottom :10px; color :cadetblue ;">  <asp:Label ID="lbOrder" runat="server" Text='<%# Bind("c") %>' ></asp:Label><asp:Label ID="lba" runat="server" Text='<%# Bind("a") %>' ></asp:Label></div> 
                <div>       <asp:Label ID="lbb" runat="server" Text='<%# Bind("b") %>'  ></asp:Label></div> 
     
                       
                   </ItemTemplate>
                   <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                </asp:DataList>
            <div style ="text-align :center ;">
            <asp:Button ID="btEdit" runat="server" Text="修改" OnClick="btEdit_Click" />&nbsp;&nbsp;&nbsp; <asp:Button ID="btback" runat="server" Text="完成" OnClick="btback_Click" />
            </div> </asp:Panel> 


   </div>

   

           </p>
        </article>
            <div class="space-20"></div>
        <div class="space-30">
                <div class="mhome">
                    </div>
        <div  class ="mexit">
                </div>
        </div>
       
  
    </section><!--summary end-->
    <div class="space-20"></div>
</section><!--container end-->
<script type="text/javascript" src="/js/base.js"></script>
        </form>
    </body>
</html>