form.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:5k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form.aspx.cs" Inherits="web_data_repair_form" %>
- <!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 runat="server">
- <title>无标题页</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <center>
- <div>
- <asp:Table ID="Table1" runat="server" Height="152px" Width="494px" GridLines="Both">
- <asp:TableRow runat="server">
- <asp:TableCell runat="server" Width="2cm">维修单号</asp:TableCell>
- <asp:TableCell runat="server">
- <asp:Label ID="lb_no" runat="server" Width="4cm" ForeColor="Black"></asp:Label></asp:TableCell>
- <asp:TableCell runat="server" Width="2cm">申请人</asp:TableCell>
- <asp:TableCell runat="server">
- <asp:Label ID="lb_person" runat="server" Width="4cm" BorderStyle="None"></asp:Label></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell runat="server" Width="2cm">门店</asp:TableCell>
- <asp:TableCell runat="server">
- <asp:Label ID="lb_department" runat="server" BorderStyle="None" Width="4cm" ForeColor="Black"></asp:Label></asp:TableCell>
- <asp:TableCell runat="server" Width="2cm">店内电话</asp:TableCell>
- <asp:TableCell runat="server">
- <asp:Label ID="lb_tel" runat="server" Width="4cm" BorderStyle="None" ForeColor="Black"></asp:Label></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow ID="TableRow1" runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
- <asp:TableCell ID="TableCell1" runat="server" Width="2cm">设备类型</asp:TableCell>
- <asp:TableCell ID="TableCell2" runat="server" Width="4cm">
- <asp:DropDownList ID="dll_type" runat="server" Width="4cm" DataSourceID="SqlDataSource4" DataTextField="type" DataValueField="type" AutoPostBack="True">
- </asp:DropDownList>
- <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>" SelectCommand="SELECT [type] FROM [OA_UNIT_TYPE]"></asp:SqlDataSource></asp:TableCell>
- <asp:TableCell ID="TableCell3" runat="server" Width="2cm">设备名称</asp:TableCell>
- <asp:TableCell ID="TableCell4" runat="server" Width="4cm">
- <asp:DropDownList ID="dll_equipment" runat="server" Width="4cm" DataSourceID="SqlDataSource5" DataTextField="eq_name" DataValueField="eq_name" AutoPostBack="True">
- </asp:DropDownList>
- <asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>" SelectCommand="SELECT [eq_name] FROM [OA_UNIT_DETAIL] WHERE ([eq_type] = @eq_type)">
- <SelectParameters>
- <asp:ControlParameter ControlID="dll_type" Name="eq_type" PropertyName="SelectedValue"
- Type="String" />
- </SelectParameters>
- </asp:SqlDataSource>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell runat="server" Width="2cm">问题描述</asp:TableCell>
- <asp:TableCell runat="server" ColumnSpan="3" HorizontalAlign="Left">
- <table>
- <tr>
- <td>
- <asp:DropDownList ID="dll_question" runat="server" Width="6cm" DataSourceID="SqlDataSource7" DataTextField="question" DataValueField="question" OnSelectedIndexChanged="dll_question_SelectedIndexChanged1">
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td>
- <asp:TextBox ID="txt" runat="server" Width="10cm" Rows="5" TextMode="MultiLine"></asp:TextBox>
- </td>
- </tr>
- </table>
- <asp:SqlDataSource ID="SqlDataSource7" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>" SelectCommand="SELECT [question] FROM [OA_UNIT_QUESTION] WHERE ([equipment] = @equipment)">
- <SelectParameters>
- <asp:ControlParameter ControlID="dll_equipment" Name="equipment" PropertyName="SelectedValue" Type="String" />
- </SelectParameters>
- </asp:SqlDataSource>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow runat="server">
- <asp:TableCell runat="server" ColumnSpan="4">
- <asp:Button ID="bt" runat="server" Text="送件" Width="2cm" OnClick="bt_Click"/></asp:TableCell>
- </asp:TableRow>
- </asp:Table>
-
- </div>
- </center>
- </form>
- </body>
- </html>