<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dc.aspx.cs" Inherits="Web.dc.show.dc"   validateRequest="false"%>
<!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>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
      <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    调查问卷
                      	</td></tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
<div style =" margin-top :20px; margin-bottom :10px">
<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>
</div> 
<div style =" text-align :center; font-size :22px; 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>
                         <asp:Label ID="lbProjectId" runat="server" Text='<%# Bind("projectid") %>'  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>
           
                       <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="330px">
        <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>      
   
<%--矩阵选择--%>
                       <asp:GridView ID="gvMatrix" runat="server"   Visible ="false" 
                BorderWidth="1px" CssClass="gv" 
                 cellspacing="1" AutoGenerateColumns="False" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:Label ID="lbProjectText" runat="server" Text='<%# Bind("项目") %>'></asp:Label> 
                        <asp:Label ID="lbProjectValue" runat="server" Text='<%# Bind("id") %>'  Visible ="false"></asp:Label> 
                    </ItemTemplate>
                </asp:TemplateField>

               <asp:TemplateField >
                  <ItemTemplate>
                      <asp:RadioButtonList ID="RadioButtonList1" runat="server"   RepeatDirection="Horizontal" Width ="100%"></asp:RadioButtonList>
                      <asp:CheckBoxList ID="CheckBoxList1" runat="server"   RepeatDirection="Horizontal" Width ="100%"></asp:CheckBoxList>
                  </ItemTemplate>
              </asp:TemplateField>
            </Columns>        
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>                    
                   </ItemTemplate>                    
                </asp:DataList>
    <div class = "td10"  style = " text-align :center "><asp:Button ID="btSave" runat="server" Text="提交" onclick="btSave_Click" /></div></div>
<!--栏目结束 -->
                </div>
            </div>
            </div> 
        </form>
    </body>
</html>

