101 lines
5.6 KiB
Plaintext
101 lines
5.6 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="滿意度分析View.ascx.cs" Inherits="Education.Forms.檢視UC.滿意度分析View"
|
|
EnableViewState="false" %>
|
|
<style type="text/css">
|
|
td.diaplay1 {
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
border: 1px solid #999999;
|
|
}
|
|
</style>
|
|
|
|
<asp:ObjectDataSource ID="ds課程內容" runat="server"
|
|
OldValuesParameterFormatString="original_{0}" SelectMethod="SelectBy課程企劃"
|
|
TypeName="Education.DAC_訓練課程內容"
|
|
OnSelecting="ds課程內容_Selecting">
|
|
<SelectParameters>
|
|
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:DataList ID="dl課程內容" runat="server" DataSourceID="ds課程內容" OnItemDataBound="dl課程內容_ItemDataBound">
|
|
<ItemTemplate>
|
|
<asp:HiddenField ID="hf訓練課程企劃編號" runat="server" Value='<%# Eval("訓練課程企劃編號") %>' />
|
|
<asp:HiddenField ID="hf課程序號" runat="server" Value='<%# Eval("課程序號") %>' />
|
|
<asp:ObjectDataSource ID="ds滿意度分析" runat="server"
|
|
OldValuesParameterFormatString="original_{0}" SelectMethod="Select滿意度分析"
|
|
TypeName="Education.DAC_滿意度調查">
|
|
<SelectParameters>
|
|
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
|
|
<asp:Parameter Name="課程序號" Type="Int32" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<div style="margin-top: 20px;">
|
|
<asp:Label ID="lb課程" runat="server" Font-Bold="true"
|
|
Text='<%# String.Format("{0}.{1}", Eval("節次"), Eval("課程名稱")) %>'></asp:Label>
|
|
</div>
|
|
<div style="margin-left: 20px;">
|
|
<asp:DataList ID="dl滿意度分析" runat="server">
|
|
<ItemTemplate>
|
|
<div style="margin-top: 10px; margin-bottom: 10px;">
|
|
<asp:Label ID="lb題目" runat="server"
|
|
Text='<%# Eval("題目") %>'></asp:Label>
|
|
</div>
|
|
<table border="1" class="fixedwithborder" style="border-collapse: collapse;">
|
|
<tr>
|
|
<th style="width: 80px"></th>
|
|
<th style="width: 80px">非常滿意</th>
|
|
<th style="width: 80px">滿意</th>
|
|
<th style="width: 80px">普通</th>
|
|
<th style="width: 80px">不滿意</th>
|
|
<th style="width: 80px">非常不滿意</th>
|
|
<th style="width: 80px">合計</th>
|
|
<th style="width: 80px">分數</th>
|
|
</tr>
|
|
<tr>
|
|
<th>填答數</th>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb五分" runat="server" Text='<%# Eval("五分", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb四分" runat="server" Text='<%# Eval("四分", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb三分" runat="server" Text='<%# Eval("三分", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb二分" runat="server" Text='<%# Eval("二分", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb一分" runat="server" Text='<%# Eval("一分", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb合計" runat="server" Text='<%# Eval("填答數", "{0}") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1" rowspan="2">
|
|
<asp:Label ID="lb分數" runat="server" Text='<%# Eval("分數", "{0:##0.00}") %>'></asp:Label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>百分比</th>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb五分比" runat="server" Text='<%# Eval("五分比", "{0:##0.00}%") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb四分比" runat="server" Text='<%# Eval("四分比", "{0:##0.00}%") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb三分比" runat="server" Text='<%# Eval("三分比", "{0:##0.00}%") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb二分比" runat="server" Text='<%# Eval("二分比", "{0:##0.00}%") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">
|
|
<asp:Label ID="lb一分比" runat="server" Text='<%# Eval("一分比", "{0:##0.00}%") %>'></asp:Label>
|
|
</td>
|
|
<td class="diaplay1">100%</td>
|
|
</tr>
|
|
</table>
|
|
</ItemTemplate>
|
|
</asp:DataList>
|
|
</div>
|
|
</ItemTemplate>
|
|
</asp:DataList> |