<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //
    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["state"] != null)
            {
                this.XTextBox2.Text = Request.QueryString["state"].ToString();
            }
        }
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>BPM Form</title>
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {padding:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="Label1" runat="server" text="考题信息表"></asp:Label></td>
                    <td class="formno">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td height="21" colspan="4">
                        <asp:Label id="Label2" runat="server" text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox2" runat="server" HiddenInput="True" XDataBind="state" width="50px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="操作人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox1" runat="server" HiddenInput="True" XDataBind="DF_OA_ExaminationPaper.Operator" width="20px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel2" runat="server" XDataBind="DF_OA_ExaminationPaper.OperatorName" BackColor="#D4E4FE" ValueToDisplayText></aspxform:XLabel>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XLabel id="XLabel1" runat="server" XDataBind="DF_OA_ExaminationPaper.CreateDate" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label10" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label3" runat="server" text="考卷名"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" HiddenInput="False" XDataBind="DF_OA_ExaminationPaper.ExaminationPaperName" width="70%" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" ValueToDisplayText DisableExpress='state=="Edit"'></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label11" runat="server" text="考卷负责人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox4" runat="server" HiddenInput="True" XDataBind="DF_OA_ExaminationPaper.TestPerson" width="20px" BorderColor="#DCDCDC" BorderWidth="1" Express="DF_OA_ExaminationPaper.Operator"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" HiddenInput="False" XDataBind="DF_OA_ExaminationPaper.TestPersonName" width="30%" BorderColor="#DCDCDC" BorderWidth="1" Express="DF_OA_ExaminationPaper.OperatorName" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XSelectUserButton id="XSelectUserButton1" runat="server" XClass="YZSoft.Forms.Field.SelectUserButton" DataMap="Account->DF_OA_ExaminationPaper.TestPerson;DisplayName->DF_OA_ExaminationPaper.TestPersonName" UseSubmitBehavior="False" Text="查询" Width="40px"></aspxform:XSelectUserButton>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label17" runat="server" text="处理人1"></asp:Label>
                        <aspxform:XTextBox id="XTextBox9" runat="server" HiddenInput="True" XDataBind="DF_OA_ExaminationPaper.Handler1" width="20px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox7" runat="server" HiddenInput="False" XDataBind="DF_OA_ExaminationPaper.HandlerName1" width="30%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;
                        <aspxform:XSelectUserButton id="XSelectUserButton2" runat="server" XClass="YZSoft.Forms.Field.SelectUserButton" DataMap="Account->DF_OA_ExaminationPaper.Handler1;DisplayName->DF_OA_ExaminationPaper.HandlerName1" UseSubmitBehavior="False" Text="查询" Width="40px"></aspxform:XSelectUserButton>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label18" style="HEIGHT: 14px; WIDTH: 44px" runat="server" text="处理人2"></asp:Label>
                        <aspxform:XTextBox id="XTextBox10" runat="server" HiddenInput="True" XDataBind="DF_OA_ExaminationPaper.Handler2" width="20px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" HiddenInput="False" XDataBind="DF_OA_ExaminationPaper.HandlerName2" width="30%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;
                        <aspxform:XSelectUserButton id="XSelectUserButton3" runat="server" XClass="YZSoft.Forms.Field.SelectUserButton" DataMap="Account->DF_OA_ExaminationPaper.Handler2;DisplayName->DF_OA_ExaminationPaper.HandlerName2" UseSubmitBehavior="False" Text="查询" Width="40px"></aspxform:XSelectUserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1">
            <tbody>
                <tr class="title1">
                    <td width="1198" height="16" colspan="6">
                        <asp:Label id="Label6" runat="server" text="考题信息"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td width="58" height="16" class="tds">
                        <asp:Label id="Label27" runat="server" text="序号"></asp:Label></td>
                    <td width="478" class="tds">
                        <asp:Label id="Label13" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label30" runat="server" text="考题内容"></asp:Label></td>
                    <td width="478" class="tds">
                        <asp:Label id="Label14" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label7" runat="server" text="考题选项"></asp:Label></td>
                    <td width="58" class="tds">
                        <asp:Label id="Label15" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label32" runat="server" text="考题分值"></asp:Label></td>
                    <td width="58" class="tds">
                        <asp:Label id="Label16" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label33" runat="server" text="考题答案"></asp:Label></td>
                </tr>
                <tr>
                    <td height="54" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_OA_ExaminationQuestionInfo.QuestionsID" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td align="left" class="tds1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" HiddenInput="False" XDataBind="DF_OA_ExaminationQuestionInfo.Contents" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" ValueToDisplayText Width="100%" TextAlign="left" Rows="2" TextMode="MultiLine" Height="52px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" dynamicarea="1,1">
                            <tbody>
                                <tr align="center">
                                    <td width="15%" class="tds">
                                        <asp:Label id="Label8" runat="server" text="选项编号"></asp:Label></td>
                                    <td width="85%" class="tds">
                                        <asp:Label id="Label9" runat="server" text="选项内容"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="center" class="tds1">
                                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_OA_ExaminationQuestionsOptions.OptionsID">
                                            <asp:ListItem Selected="True">A</asp:ListItem>
                                            <asp:ListItem>B</asp:ListItem>
                                            <asp:ListItem>C</asp:ListItem>
                                            <asp:ListItem>D</asp:ListItem>
                                            <asp:ListItem>E</asp:ListItem>
                                            <asp:ListItem>F</asp:ListItem>
                                        </aspxform:XDropDownList>
                                    </td>
                                    <td align="left" class="tds1">
                                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_OA_ExaminationQuestionsOptions.OptionsContent" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" TextAlign="left" TextMode="MultiLine"></aspxform:XTextBox>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_OA_ExaminationQuestionInfo.Score" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_OA_ExaminationQuestionInfo.Answer" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入考卷名" ControlToValidate="XTextBox3">请输入考卷名</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择考卷负责人" ControlToValidate="XTextBox6">请选择考卷负责人</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入考题内容" ControlToValidate="XTextBox12">请输入考题内容</aspxform:XRequiredFieldValidator>
        &nbsp;
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入考题分值" ControlToValidate="XTextBox14">请输入考题分值</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入考题答案" ControlToValidate="XTextBox15">请输入考题答案</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;
    </form>
</body>
</html>
