Files
thinkyu/branches/1150807/Forms/檢視UC/教育訓練效益追蹤調查表View.ascx
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

199 lines
8.8 KiB
Plaintext

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="教育訓練效益追蹤調查表View.ascx.cs"
Inherits="Education.Forms.檢視UC.教育訓練效益追蹤調查表View" EnableViewState="false" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="weblib" %>
<asp:ObjectDataSource ID="ds調查表Form" runat="server"
OnObjectCreating="ds調查表Form_ObjectCreating"
DataObjectTypeName="Education.訓練效益" DeleteMethod="DeleteOne"
InsertMethod="InsertOne" OldValuesParameterFormatString="original_{0}"
SelectMethod="SelectOne" TypeName="Education.DAC_訓練效益" UpdateMethod="UpdateOne">
<SelectParameters>
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
<asp:Parameter Name="填表序號" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="ds站別" runat="server"
OldValuesParameterFormatString="original_{0}"
SelectMethod="SelectForDropDown" TypeName="Education.DAC_站別"></asp:ObjectDataSource>
<asp:FormView ID="FormView1" runat="server" DataKeyNames="訓練課程企劃編號,填表序號,DB_APPNO"
DataSourceID="ds調查表Form" EnableModelValidation="True">
<ItemTemplate>
<table border="0" cellpadding="3" cellspacing="2" style="table-layout: fixed;">
<tr>
<td colspan="1" class="widthcontrol" style="width: 110px;"></td>
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
<td colspan="1" class="widthcontrol" style="width: 90px;"></td>
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
<td colspan="1" class="widthcontrol" style="width: 90px;"></td>
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
<td colspan="1" class="widthcontrol" style="width: 90px;"></td>
<td colspan="1" class="widthcontrol" style="width: 120px;"></td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb填表序號Label" runat="server" Text="填表序號"></asp:Label>
</td>
<td class="datadisplay" colspan="1">
<asp:Label ID="lb填表序號" runat="server" Text='<%# Bind("填表序號") %>'
CssClass="inputFull"></asp:Label>
</td>
<td class="caption">
<asp:Label ID="lb填表人Label" runat="server" Text="填表人"></asp:Label>
</td>
<td class="datadisplay" colspan="1">
<asp:Label ID="lb填表人" runat="server" Text='<%# Bind("填表人") %>'
CssClass="inputFull"></asp:Label>
</td>
<td class="caption">
<asp:Label ID="lb填表日期Label" runat="server" Text="填表日期"></asp:Label>
</td>
<td class="datadisplay" colspan="1">
<asp:Label ID="lb填表日期" runat="server" Text='<%# Eval("填表日期", "{0:yyyy-MM-dd}") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb填表人站別Label" runat="server" Text="填表人站別"></asp:Label>
</td>
<td class="datadisplay" colspan="3">
<asp:Label ID="lb填表人站別" runat="server" Text='<%# Get站別(Eval("填表人站別")) %>'
CssClass="inputFull"></asp:Label>
</td>
<td class="caption">
<asp:Label ID="lb填表人職稱Label" runat="server" Text="填表人職稱"></asp:Label>
</td>
<td class="datadisplay" colspan="1">
<asp:Label ID="lb填表人職稱" runat="server" Text='<%# Bind("填表人職稱") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="captionLeft" colspan="8">
<asp:Label ID="Label10" runat="server" Text="一、目前於執行工作上,你期待本計畫人員需加強的地方與原因為何?"></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題1_1Label" runat="server" Text="加強地方"></asp:Label>
</td>
<td class="datadisplay" colspan="7">
<asp:Label ID="lb問題1_1" runat="server" CssClass="inputFull"
Text='<%# Bind("問題1_1") %>'></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題1_2Label" runat="server" Text="原因"></asp:Label>
</td>
<td class="datadisplay" colspan="7">
<asp:Label ID="lb問題1_2" runat="server" Text='<%# Bind("問題1_2") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="captionLeft" colspan="8">
<asp:Label ID="Label11" runat="server" Text="二、請問您認為未來開辦哪方面訓練課程較為適合?"></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題2_1_1Label" runat="server" Text="1. 課程名稱"></asp:Label>
</td>
<td class="datadisplay" colspan="3">
<asp:Label ID="lb問題2_1_1" runat="server" CssClass="inputFull"
Text='<%# Bind("問題2_1_1") %>'></asp:Label>
</td>
<td class="caption">
<asp:Label ID="lb問題2_1_2Label" runat="server" Text="推薦講師"></asp:Label>
</td>
<td class="datadisplay" colspan="3">
<asp:Label ID="lb問題2_1_2" runat="server" CssClass="inputFull"
Text='<%# Bind("問題2_1_2") %>'></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題2_1_3Label" runat="server" Text="原因"></asp:Label>
</td>
<td class="datadisplay" colspan="7">
<asp:Label ID="lb問題2_1_3" runat="server" Text='<%# Bind("問題2_1_3") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題2_2_1Label" runat="server" Text="2. 課程名稱"></asp:Label>
</td>
<td class="datadisplay" colspan="3">
<asp:Label ID="lb問題2_2_1" runat="server" Text='<%# Bind("問題2_2_1") %>'
CssClass="inputFull"></asp:Label>
</td>
<td class="caption">
<asp:Label ID="lb問題2_2_2Label" runat="server" Text="推薦講師"></asp:Label>
</td>
<td class="datadisplay" colspan="3">
<asp:Label ID="lb問題2_2_2" runat="server" Text='<%# Bind("問題2_2_2") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="caption">
<asp:Label ID="lb問題2_2_3Label" runat="server" Text="原因"></asp:Label>
</td>
<td class="datadisplay" colspan="7">
<asp:Label ID="lb問題2_2_3" runat="server" Text='<%# Bind("問題2_2_3") %>'
CssClass="inputFull"></asp:Label>
</td>
</tr>
<tr>
<td class="captionLeft" colspan="8">
<asp:Label ID="Label12" runat="server" Text="三、對於課程的規畫或相關事宜,您是否有其他建議?"></asp:Label>
</td>
</tr>
<tr>
<td class="datadisplay" colspan="8">
<asp:Label ID="lb問題3_1" runat="server" Text='<%# Eval("問題3_1", "{0}").Replace("\r", "<br/>") %>'
CssClass="inputFull"></asp:Label>&nbsp;
</td>
</tr>
</table>
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ds效益追蹤個人" runat="server"
OldValuesParameterFormatString="original_{0}" SelectMethod="SelectFor簽核"
TypeName="Education.DAC_訓練效益個人" OnObjectCreating="ds效益追蹤個人_ObjectCreating">
<SelectParameters>
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
<asp:Parameter Name="填表序號" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:GridView ID="gv訓練效益個人" runat="server" DataSourceID="ds效益追蹤個人"
EnableModelValidation="True" AutoGenerateColumns="False" Width="100%">
<Columns>
<asp:BoundField DataField="學員編號" HeaderText="學員編號">
<HeaderStyle Width="6em" />
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="學員姓名" HeaderText="學員姓名">
<HeaderStyle Width="6em" />
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="職務名稱" HeaderText="職務">
<HeaderStyle Width="8em" />
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:TemplateField HeaderText="是否有成效">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("是否有成效", "{0}") == "Y" ? "是" : Eval("是否有成效", "{0}") == "N" ? "否" : "未填寫" %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Width="6em" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="成效說明" HeaderText="成效說明">
<ItemStyle HorizontalAlign="NotSet" />
</asp:BoundField>
</Columns>
</asp:GridView>