chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="場地遴選View.ascx.cs" Inherits="Education.Forms.檢視UC.場地遴選View"
|
||||
EnableViewState="false" %>
|
||||
<table style="table-layout: fixed; width: 100%;">
|
||||
<tr>
|
||||
<td class="caption" style="width: 125px">
|
||||
<asp:Label ID="Label9" runat="server" Text="課程企劃"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="lb課程企劃" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="captionCenter" style="width: 33%">
|
||||
<asp:Label ID="Label11" runat="server" Text="場地一"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" style="width: 33%">
|
||||
<asp:Label ID="Label12" runat="server" Text="場地二"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" style="width: 33%">
|
||||
<asp:Label ID="Label13" runat="server" Text="場地三"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label16" runat="server" Text="場地編號名稱"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lbPlaceA" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lbPlaceB" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lbPlaceC" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label17" runat="server" Text="安全舒適 30%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt安全舒適A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt安全舒適B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt安全舒適C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label18" runat="server" Text="空間大小 20%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt空間大小A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt空間大小B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt空間大小C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label19" runat="server" Text="價格合理 20%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt價格合理A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt價格合理B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt價格合理C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label20" runat="server" Text="交通便利 20%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt交通便利A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt交通便利B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt交通便利C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label21" runat="server" Text="設備完善 10%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt設備完善A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt設備完善B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="txt設備完善C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label22" runat="server" Text="合計 100%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb合計A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb合計B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb合計C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label23" runat="server" Text="總評"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt總評" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label24" runat="server" Text="備註"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt備註" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 場地遴選View : UserControlBase
|
||||
{
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
int 課程ID = DAC.GetInt32(單號);
|
||||
|
||||
DAC_場地遴選 Dao場地遴選 = new DAC_場地遴選(ParentPage.conn);
|
||||
|
||||
訓練課程企劃List v1 = Dao訓練課程企劃.SelectOne(課程ID);
|
||||
if (v1.Count > 0)
|
||||
{
|
||||
lb課程企劃.Text = String.Format("[{0}] {1}", v1[0].顯示編號, v1[0].訓練名稱);
|
||||
}
|
||||
|
||||
lbPlaceA.Text = "(尚未選擇)";
|
||||
lbPlaceB.Text = "(尚未選擇)";
|
||||
lbPlaceC.Text = "(尚未選擇)";
|
||||
|
||||
txt安全舒適A.Text = "";
|
||||
txt空間大小A.Text = "";
|
||||
txt價格合理A.Text = "";
|
||||
txt交通便利A.Text = "";
|
||||
txt設備完善A.Text = "";
|
||||
lb合計A.Text = "";
|
||||
txt安全舒適B.Text = "";
|
||||
txt空間大小B.Text = "";
|
||||
txt價格合理B.Text = "";
|
||||
txt交通便利B.Text = "";
|
||||
txt設備完善B.Text = "";
|
||||
lb合計B.Text = "";
|
||||
txt安全舒適B.Text = "";
|
||||
txt空間大小B.Text = "";
|
||||
txt價格合理B.Text = "";
|
||||
txt交通便利B.Text = "";
|
||||
txt設備完善B.Text = "";
|
||||
lb合計B.Text = "";
|
||||
|
||||
txt總評.Text = "";
|
||||
txt備註.Text = "";
|
||||
|
||||
場地遴選List 場地 = Dao場地遴選.SelectOne(課程ID);
|
||||
if (場地.Count > 0)
|
||||
{
|
||||
if (場地[0].場地編號_A > 0)
|
||||
{
|
||||
lbPlaceA.Text = String.Format("[{0:0000}] {1}", 場地[0].場地編號_A, Get場地名稱(場地[0].場地編號_A));
|
||||
txt安全舒適A.Text = 場地[0].安全舒適_A.ToString();
|
||||
txt空間大小A.Text = 場地[0].空間大小_A.ToString();
|
||||
txt價格合理A.Text = 場地[0].價格合理_A.ToString();
|
||||
txt交通便利A.Text = 場地[0].交通便利_A.ToString();
|
||||
txt設備完善A.Text = 場地[0].設備完善_A.ToString();
|
||||
lb合計A.Text = 場地[0].合計_A.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(場地[0].場地名稱_A))
|
||||
{
|
||||
lbPlaceA.Text = 場地[0].場地名稱_A;
|
||||
txt安全舒適A.Text = 場地[0].安全舒適_A.ToString();
|
||||
txt空間大小A.Text = 場地[0].空間大小_A.ToString();
|
||||
txt價格合理A.Text = 場地[0].價格合理_A.ToString();
|
||||
txt交通便利A.Text = 場地[0].交通便利_A.ToString();
|
||||
txt設備完善A.Text = 場地[0].設備完善_A.ToString();
|
||||
lb合計A.Text = 場地[0].合計_A.ToString();
|
||||
}
|
||||
|
||||
if (場地[0].場地編號_B > 0)
|
||||
{
|
||||
lbPlaceB.Text = String.Format("[{0:0000}] {1}", 場地[0].場地編號_B, Get場地名稱(場地[0].場地編號_B));
|
||||
txt安全舒適B.Text = 場地[0].安全舒適_B.ToString();
|
||||
txt空間大小B.Text = 場地[0].空間大小_B.ToString();
|
||||
txt價格合理B.Text = 場地[0].價格合理_B.ToString();
|
||||
txt交通便利B.Text = 場地[0].交通便利_B.ToString();
|
||||
txt設備完善B.Text = 場地[0].設備完善_B.ToString();
|
||||
lb合計B.Text = 場地[0].合計_B.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(場地[0].場地名稱_B))
|
||||
{
|
||||
lbPlaceB.Text = 場地[0].場地名稱_B;
|
||||
txt安全舒適B.Text = 場地[0].安全舒適_B.ToString();
|
||||
txt空間大小B.Text = 場地[0].空間大小_B.ToString();
|
||||
txt價格合理B.Text = 場地[0].價格合理_B.ToString();
|
||||
txt交通便利B.Text = 場地[0].交通便利_B.ToString();
|
||||
txt設備完善B.Text = 場地[0].設備完善_B.ToString();
|
||||
lb合計B.Text = 場地[0].合計_B.ToString();
|
||||
}
|
||||
|
||||
if (場地[0].場地編號_C > 0)
|
||||
{
|
||||
lbPlaceC.Text = String.Format("[{0:0000}] {1}", 場地[0].場地編號_C, Get場地名稱(場地[0].場地編號_C));
|
||||
txt安全舒適C.Text = 場地[0].安全舒適_C.ToString();
|
||||
txt空間大小C.Text = 場地[0].空間大小_C.ToString();
|
||||
txt價格合理C.Text = 場地[0].價格合理_C.ToString();
|
||||
txt交通便利C.Text = 場地[0].交通便利_C.ToString();
|
||||
txt設備完善C.Text = 場地[0].設備完善_C.ToString();
|
||||
lb合計C.Text = 場地[0].合計_C.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(場地[0].場地名稱_C))
|
||||
{
|
||||
lbPlaceC.Text = 場地[0].場地名稱_C;
|
||||
txt安全舒適C.Text = 場地[0].安全舒適_C.ToString();
|
||||
txt空間大小C.Text = 場地[0].空間大小_C.ToString();
|
||||
txt價格合理C.Text = 場地[0].價格合理_C.ToString();
|
||||
txt交通便利C.Text = 場地[0].交通便利_C.ToString();
|
||||
txt設備完善C.Text = 場地[0].設備完善_C.ToString();
|
||||
lb合計C.Text = 場地[0].合計_C.ToString();
|
||||
}
|
||||
|
||||
txt總評.Text = 場地[0].總評.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
txt備註.Text = 場地[0].備註.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+350
@@ -0,0 +1,350 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 場地遴選View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Label9 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label9;
|
||||
|
||||
/// <summary>
|
||||
/// lb課程企劃 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb課程企劃;
|
||||
|
||||
/// <summary>
|
||||
/// Label11 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label11;
|
||||
|
||||
/// <summary>
|
||||
/// Label12 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label12;
|
||||
|
||||
/// <summary>
|
||||
/// Label13 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label13;
|
||||
|
||||
/// <summary>
|
||||
/// Label16 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label16;
|
||||
|
||||
/// <summary>
|
||||
/// lbPlaceA 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbPlaceA;
|
||||
|
||||
/// <summary>
|
||||
/// lbPlaceB 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbPlaceB;
|
||||
|
||||
/// <summary>
|
||||
/// lbPlaceC 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbPlaceC;
|
||||
|
||||
/// <summary>
|
||||
/// Label17 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label17;
|
||||
|
||||
/// <summary>
|
||||
/// txt安全舒適A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt安全舒適A;
|
||||
|
||||
/// <summary>
|
||||
/// txt安全舒適B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt安全舒適B;
|
||||
|
||||
/// <summary>
|
||||
/// txt安全舒適C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt安全舒適C;
|
||||
|
||||
/// <summary>
|
||||
/// Label18 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label18;
|
||||
|
||||
/// <summary>
|
||||
/// txt空間大小A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt空間大小A;
|
||||
|
||||
/// <summary>
|
||||
/// txt空間大小B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt空間大小B;
|
||||
|
||||
/// <summary>
|
||||
/// txt空間大小C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt空間大小C;
|
||||
|
||||
/// <summary>
|
||||
/// Label19 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label19;
|
||||
|
||||
/// <summary>
|
||||
/// txt價格合理A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt價格合理A;
|
||||
|
||||
/// <summary>
|
||||
/// txt價格合理B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt價格合理B;
|
||||
|
||||
/// <summary>
|
||||
/// txt價格合理C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt價格合理C;
|
||||
|
||||
/// <summary>
|
||||
/// Label20 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label20;
|
||||
|
||||
/// <summary>
|
||||
/// txt交通便利A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt交通便利A;
|
||||
|
||||
/// <summary>
|
||||
/// txt交通便利B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt交通便利B;
|
||||
|
||||
/// <summary>
|
||||
/// txt交通便利C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt交通便利C;
|
||||
|
||||
/// <summary>
|
||||
/// Label21 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label21;
|
||||
|
||||
/// <summary>
|
||||
/// txt設備完善A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt設備完善A;
|
||||
|
||||
/// <summary>
|
||||
/// txt設備完善B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt設備完善B;
|
||||
|
||||
/// <summary>
|
||||
/// txt設備完善C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt設備完善C;
|
||||
|
||||
/// <summary>
|
||||
/// Label22 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label22;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計A;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計B;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計C;
|
||||
|
||||
/// <summary>
|
||||
/// Label23 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label23;
|
||||
|
||||
/// <summary>
|
||||
/// txt總評 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt總評;
|
||||
|
||||
/// <summary>
|
||||
/// Label24 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label24;
|
||||
|
||||
/// <summary>
|
||||
/// txt備註 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt備註;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="教學日誌暨異常狀況View.ascx.cs"
|
||||
Inherits="Education.Forms.檢視UC.教學日誌暨異常狀況View" EnableViewState="false" %>
|
||||
<%@ Import Namespace="Education" %>
|
||||
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="weblib" %>
|
||||
<asp:ObjectDataSource ID="ds教學日誌" runat="server" DataObjectTypeName="Education.教學日誌"
|
||||
OldValuesParameterFormatString="original_{0}" SelectMethod="SelectOne" TypeName="Education.DAC_教學日誌"
|
||||
OnObjectCreating="ds教學日誌_ObjectCreating">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="課程企劃編號" Type="Int32" />
|
||||
<asp:Parameter Name="課程序號" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:FormView ID="FormView1" runat="server" DataKeyNames="課程企劃編號,課程序號" DataSourceID="ds教學日誌"
|
||||
EnableModelValidation="True" OnDataBound="FormView1_DataBound">
|
||||
<ItemTemplate>
|
||||
<table border="0" cellpadding="3" cellspacing="2" style="table-layout: fixed;">
|
||||
<tr>
|
||||
<td colspan="1" class="widthcontrol" style="width: 275px;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 190px;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 110px;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 190px;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 110px;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 190px;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb課程企劃編號Label" runat="server" Text="課程企劃編號"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb課程企劃編號" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb課程序號Label" runat="server" Text="節次"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb節次" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb講師Label" runat="server" Text="講師"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb講師" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb應到人數Label" runat="server" Text="應到人數"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<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">
|
||||
<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">
|
||||
<asp:Label ID="lb缺席人數" runat="server" Text='<%# Bind("缺席人數") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb教學概要Label" runat="server" Text="教學概要"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb教學概要" runat="server" Text='<%# Eval("教學概要", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb學員反應Label" runat="server" Text="學員反應"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb學員反應" runat="server" Text='<%# Eval("學員反應", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" style="background-color:#e8f0fe; font-weight:bold; padding:6px 8px;">
|
||||
課程執行觀察
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="color:#888; font-size:12px; padding:0 8px 6px;">
|
||||
※ 2026年起改填寫課程執行觀察
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察01Label" runat="server" Text="1.課程是否依原訂計畫執行"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察01" runat="server" Text='<%# DAC_教學日誌選項.Get觀察01名稱(Eval("課程執行觀察_01")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察02Label" runat="server" Text="2.課程進度"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察02" runat="server" Text='<%# DAC_教學日誌選項.Get觀察02名稱(Eval("課程執行觀察_02")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察03Label" runat="server" Text="3.講師授課情形"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察03" runat="server" Text='<%# DAC_教學日誌選項.Get觀察03名稱(Eval("課程執行觀察_03")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察04Label" runat="server" Text="4.學員參與互動"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察04" runat="server" Text='<%# DAC_教學日誌選項.Get觀察04名稱(Eval("課程執行觀察_04")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察05Label" runat="server" Text="5.學員學習投入"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察05" runat="server" Text='<%# DAC_教學日誌選項.Get觀察05名稱(Eval("課程執行觀察_05")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察06Label" runat="server" Text="6.學員課堂回應情形"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察06" runat="server" Text='<%# DAC_教學日誌選項.Get觀察06名稱(Eval("課程執行觀察_06")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察07Label" runat="server" Text="7.實作/活動完成情形"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察07" runat="server" Text='<%# DAC_教學日誌選項.Get觀察07名稱(Eval("課程執行觀察_07")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察08Label" runat="server" Text="8.教學設備及場地"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察08" runat="server" Text='<%# DAC_教學日誌選項.Get觀察08名稱(Eval("課程執行觀察_08")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察說明Label" runat="server" Text="觀察說明"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察說明" runat="server" Text='<%# Eval("課程執行觀察說明_01", "{0}").Replace("\r", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" style="background-color:#e8f0fe; font-weight:bold; padding:6px 8px;">
|
||||
課程觀察紀錄
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察紀錄1Label" runat="server" Text="1.本次課程值得保留或表現良好之處"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察紀錄1" runat="server" Text='<%# Eval("課程觀察紀錄_1", "{0}").Replace("\r", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb觀察紀錄2Label" runat="server" Text="2.本次課程可改善事項及建議"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb觀察紀錄2" runat="server" Text='<%# Eval("課程觀察紀錄_2", "{0}").Replace("\r", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" style="background-color:#e8f0fe; font-weight:bold; padding:6px 8px;">
|
||||
異常狀況紀錄
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb異常情形Label" runat="server" Text="異常情形"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb有無異常" runat="server" Text='<%# DAC_教學日誌選項.Get有無異常事項名稱(Eval("有無異常事項")) %>' CssClass="inputFull"></asp:Label>
|
||||
<asp:Label ID="lb異常情形" runat="server" Text='<%# Eval("異常情形", "{0}").Replace("\r", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb處理經過與結果Label" runat="server" Text="處理過程及建議"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb處理經過與結果" runat="server" Text='<%# Eval("處理經過與結果", "{0}").Replace("\r", "<br/>") %>'
|
||||
CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb是否需後續追蹤Label" runat="server" Text="是否需後續追蹤"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb是否需後續追蹤" runat="server" Text='<%# DAC_教學日誌選項.Get是否需後續追蹤名稱(Eval("是否需後續追蹤")) %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb追蹤事項Label" runat="server" Text="追蹤事項"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb追蹤事項" runat="server" Text='<%# Eval("追蹤事項", "{0}").Replace("\r", "<br/>") %>' CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption" style="vertical-align:top">
|
||||
<asp:Label ID="lb處理結果追蹤Label" runat="server" Text="處理結果追蹤"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="5">
|
||||
<asp:Label ID="lb處理結果追蹤" runat="server" Text='<%# Eval("處理結果追蹤", "{0}").Replace("\r", "<br/>") %>'
|
||||
CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表人員Label" runat="server" Text="填表人員"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb填表人員0" runat="server" CssClass="inputFull" Text='<%# Get員工姓名(Eval("填表人員")) %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label" runat="server" Text="填表日期"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb填表日期" runat="server" CssClass="inputFull" Text='<%# Eval("填表日期", "{0:yyyy-MM-dd}") %>'></asp:Label>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ItemTemplate>
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label ID="lbNoData" runat="server" CssClass="ErrorMessage" Text="此節次尚無教學日誌資料"></asp:Label>
|
||||
</EmptyDataTemplate>
|
||||
</asp:FormView>
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 教學日誌暨異常狀況View : UserControlBase
|
||||
{
|
||||
private int 課程企劃編號 = 0;
|
||||
private int 課程序號 = 0;
|
||||
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
|
||||
string[] keyArr = 單號.Split('|');
|
||||
if (keyArr.Length > 0)
|
||||
課程企劃編號 = DAC.GetInt32(keyArr[0]);
|
||||
if (keyArr.Length > 1)
|
||||
課程序號 = DAC.GetInt32(keyArr[1]);
|
||||
|
||||
|
||||
ds教學日誌.SelectParameters["課程企劃編號"].DefaultValue = 課程企劃編號.ToString();
|
||||
ds教學日誌.SelectParameters["課程序號"].DefaultValue = 課程序號.ToString();
|
||||
FormView1.DataBind();
|
||||
}
|
||||
|
||||
protected void ds教學日誌_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = new DAC_教學日誌(ParentPage.conn);
|
||||
}
|
||||
|
||||
protected void FormView1_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (FormView1.DataItem == null)
|
||||
return;
|
||||
|
||||
訓練課程企劃List d1 = Dao訓練課程企劃.SelectOne(課程企劃編號);
|
||||
if (d1.Count > 0)
|
||||
{
|
||||
FindControl<ITextControl>(FormView1, "lb課程企劃編號").Text = d1[0].顯示編號;
|
||||
}
|
||||
|
||||
DAC_訓練課程內容 Dao訓練課程內容 = new DAC_訓練課程內容(ParentPage.conn);
|
||||
訓練課程內容List d2 = Dao訓練課程內容.SelectOne(課程企劃編號, 課程序號);
|
||||
if (d2.Count > 0)
|
||||
{
|
||||
FindControl<ITextControl>(FormView1, "lb節次").Text = d2[0].節次.ToString();
|
||||
FindControl<ITextControl>(FormView1, "lb講師").Text = Dao訓練課程企劃.Select選定講師名稱(課程企劃編號, 課程序號);
|
||||
}
|
||||
|
||||
string[] 新欄位ID = { "lb觀察01", "lb觀察02", "lb觀察03", "lb觀察04", "lb觀察05", "lb觀察06", "lb觀察07", "lb觀察08", "lb觀察說明", "lb觀察紀錄1", "lb觀察紀錄2" };
|
||||
foreach (string 控制項ID in 新欄位ID)
|
||||
{
|
||||
Label lb = FindControl<Label>(FormView1, 控制項ID);
|
||||
if (lb != null && string.IsNullOrEmpty(lb.Text.Trim()))
|
||||
{
|
||||
lb.Text = "2026年新增欄位";
|
||||
lb.ForeColor = System.Drawing.Color.Gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 教學日誌暨異常狀況View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ds教學日誌 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds教學日誌;
|
||||
|
||||
/// <summary>
|
||||
/// FormView1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView FormView1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="教材遴選View.ascx.cs" Inherits="Education.Forms.檢視UC.教材遴選View"
|
||||
EnableViewState="false" %>
|
||||
<table style="table-layout: fixed; width: 100%;">
|
||||
<tr>
|
||||
<td style="width: 145px"> </td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label11" runat="server" Text="教材一"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label12" runat="server" Text="教材二"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label13" runat="server" Text="教材三"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label14" runat="server" Text="教材名稱"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb教材一" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb教材二" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb教材三" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label17" runat="server" Text="符合訓練目標"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合訓練目標A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合訓練目標B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合訓練目標C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label18" runat="server" Text="架構規劃完整性"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt架構規劃完整性A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt架構規劃完整性B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt架構規劃完整性C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label19" runat="server" Text="符合課程時數"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合課程時數A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合課程時數B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt符合課程時數C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label20" runat="server" Text="引起學習興趣"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt引起學習興趣A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt引起學習興趣B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt引起學習興趣C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label21" runat="server" Text="未來工作參考運用"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt未來工作參考運用A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt未來工作參考運用B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt未來工作參考運用C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label22" runat="server" Text="合計 100%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label25" runat="server" Text="總評"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt總評" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label26" runat="server" Text="備註"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt備註" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,100 @@
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 教材遴選View : UserControlBase
|
||||
{
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
|
||||
int 課程企劃ID = 0;
|
||||
int 課程序號 = 0;
|
||||
|
||||
if (單號 == null)
|
||||
return;
|
||||
|
||||
string[] keyArr = 單號.Split('|');
|
||||
|
||||
if (keyArr.Length > 0)
|
||||
課程企劃ID = DAC.GetInt32(keyArr[0]);
|
||||
if (keyArr.Length > 1)
|
||||
課程序號 = DAC.GetInt32(keyArr[1]);
|
||||
|
||||
DAC_教材遴選 Dao教材遴選 = new DAC_教材遴選(ParentPage.conn);
|
||||
|
||||
教材遴選List v3 = Dao教材遴選.SelectOne(課程企劃ID, 課程序號);
|
||||
|
||||
lb教材一.Text = "";
|
||||
lb教材二.Text = "";
|
||||
lb教材三.Text = "";
|
||||
|
||||
txt符合訓練目標A.Text = "";
|
||||
txt架構規劃完整性A.Text = "";
|
||||
txt符合課程時數A.Text = "";
|
||||
txt引起學習興趣A.Text = "";
|
||||
txt未來工作參考運用A.Text = "";
|
||||
lb合計A.Text = "";
|
||||
|
||||
txt符合訓練目標B.Text = "";
|
||||
txt架構規劃完整性B.Text = "";
|
||||
txt符合課程時數B.Text = "";
|
||||
txt引起學習興趣B.Text = "";
|
||||
txt未來工作參考運用B.Text = "";
|
||||
lb合計B.Text = "";
|
||||
|
||||
txt符合訓練目標C.Text = "";
|
||||
txt架構規劃完整性C.Text = "";
|
||||
txt符合課程時數C.Text = "";
|
||||
txt引起學習興趣C.Text = "";
|
||||
txt未來工作參考運用C.Text = "";
|
||||
lb合計C.Text = "";
|
||||
|
||||
txt總評.Text = "";
|
||||
txt備註.Text = "";
|
||||
|
||||
if (v3.Count > 0)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(v3[0].教材名稱_A))
|
||||
{
|
||||
lb教材一.Text = v3[0].教材名稱_A;
|
||||
txt符合訓練目標A.Text = v3[0].符合訓練目標_A.ToString();
|
||||
txt架構規劃完整性A.Text = v3[0].架構規劃完整性_A.ToString();
|
||||
txt符合課程時數A.Text = v3[0].符合課程時數_A.ToString();
|
||||
txt引起學習興趣A.Text = v3[0].引起學習興趣_A.ToString();
|
||||
txt未來工作參考運用A.Text = v3[0].未來工作參考運用_A.ToString();
|
||||
lb合計A.Text = (v3[0].符合訓練目標_A + v3[0].架構規劃完整性_A + v3[0].符合課程時數_A + v3[0].引起學習興趣_A + v3[0].未來工作參考運用_A).ToString();
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(v3[0].教材名稱_B))
|
||||
{
|
||||
lb教材二.Text = v3[0].教材名稱_B;
|
||||
txt符合訓練目標B.Text = v3[0].符合訓練目標_B.ToString();
|
||||
txt架構規劃完整性B.Text = v3[0].架構規劃完整性_B.ToString();
|
||||
txt符合課程時數B.Text = v3[0].符合課程時數_B.ToString();
|
||||
txt引起學習興趣B.Text = v3[0].引起學習興趣_B.ToString();
|
||||
txt未來工作參考運用B.Text = v3[0].未來工作參考運用_B.ToString();
|
||||
lb合計B.Text = (v3[0].符合訓練目標_B + v3[0].架構規劃完整性_B + v3[0].符合課程時數_B + v3[0].引起學習興趣_B + v3[0].未來工作參考運用_B).ToString();
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(v3[0].教材名稱_C))
|
||||
{
|
||||
lb教材三.Text = v3[0].教材名稱_C;
|
||||
txt符合訓練目標C.Text = v3[0].符合訓練目標_C.ToString();
|
||||
txt架構規劃完整性C.Text = v3[0].架構規劃完整性_C.ToString();
|
||||
txt符合課程時數C.Text = v3[0].符合課程時數_C.ToString();
|
||||
txt引起學習興趣C.Text = v3[0].引起學習興趣_C.ToString();
|
||||
txt未來工作參考運用C.Text = v3[0].未來工作參考運用_C.ToString();
|
||||
lb合計C.Text = (v3[0].符合訓練目標_C + v3[0].架構規劃完整性_C + v3[0].符合課程時數_C + v3[0].引起學習興趣_C + v3[0].未來工作參考運用_C).ToString();
|
||||
}
|
||||
|
||||
txt總評.Text = v3[0].總評.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
txt備註.Text = v3[0].備註.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+332
@@ -0,0 +1,332 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 教材遴選View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Label11 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label11;
|
||||
|
||||
/// <summary>
|
||||
/// Label12 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label12;
|
||||
|
||||
/// <summary>
|
||||
/// Label13 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label13;
|
||||
|
||||
/// <summary>
|
||||
/// Label14 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label14;
|
||||
|
||||
/// <summary>
|
||||
/// lb教材一 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb教材一;
|
||||
|
||||
/// <summary>
|
||||
/// lb教材二 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb教材二;
|
||||
|
||||
/// <summary>
|
||||
/// lb教材三 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb教材三;
|
||||
|
||||
/// <summary>
|
||||
/// Label17 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label17;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合訓練目標A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合訓練目標A;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合訓練目標B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合訓練目標B;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合訓練目標C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合訓練目標C;
|
||||
|
||||
/// <summary>
|
||||
/// Label18 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label18;
|
||||
|
||||
/// <summary>
|
||||
/// txt架構規劃完整性A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt架構規劃完整性A;
|
||||
|
||||
/// <summary>
|
||||
/// txt架構規劃完整性B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt架構規劃完整性B;
|
||||
|
||||
/// <summary>
|
||||
/// txt架構規劃完整性C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt架構規劃完整性C;
|
||||
|
||||
/// <summary>
|
||||
/// Label19 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label19;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合課程時數A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合課程時數A;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合課程時數B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合課程時數B;
|
||||
|
||||
/// <summary>
|
||||
/// txt符合課程時數C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt符合課程時數C;
|
||||
|
||||
/// <summary>
|
||||
/// Label20 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label20;
|
||||
|
||||
/// <summary>
|
||||
/// txt引起學習興趣A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt引起學習興趣A;
|
||||
|
||||
/// <summary>
|
||||
/// txt引起學習興趣B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt引起學習興趣B;
|
||||
|
||||
/// <summary>
|
||||
/// txt引起學習興趣C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt引起學習興趣C;
|
||||
|
||||
/// <summary>
|
||||
/// Label21 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label21;
|
||||
|
||||
/// <summary>
|
||||
/// txt未來工作參考運用A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt未來工作參考運用A;
|
||||
|
||||
/// <summary>
|
||||
/// txt未來工作參考運用B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt未來工作參考運用B;
|
||||
|
||||
/// <summary>
|
||||
/// txt未來工作參考運用C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt未來工作參考運用C;
|
||||
|
||||
/// <summary>
|
||||
/// Label22 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label22;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計A;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計B;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計C;
|
||||
|
||||
/// <summary>
|
||||
/// Label25 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label25;
|
||||
|
||||
/// <summary>
|
||||
/// txt總評 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt總評;
|
||||
|
||||
/// <summary>
|
||||
/// Label26 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label26;
|
||||
|
||||
/// <summary>
|
||||
/// txt備註 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt備註;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,198 @@
|
||||
<%@ 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>
|
||||
</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>
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 教育訓練效益追蹤調查表View : UserControlBase
|
||||
{
|
||||
private DAC_訓練效益 Dao訓練效益;
|
||||
private DAC_訓練效益個人 Dao訓練效益個人;
|
||||
private int 訓練課程企劃編號 = 0;
|
||||
private int 填表序號 = 0;
|
||||
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
|
||||
Dao訓練效益 = new DAC_訓練效益(ParentPage.conn);
|
||||
Dao訓練效益個人 = new DAC_訓練效益個人(ParentPage.conn);
|
||||
|
||||
string[] keyArr = 單號.Split('|');
|
||||
|
||||
if (keyArr.Length > 0)
|
||||
訓練課程企劃編號 = DAC.GetInt32(keyArr[0]);
|
||||
if (keyArr.Length > 1)
|
||||
填表序號 = DAC.GetInt32(keyArr[1]);
|
||||
|
||||
ds調查表Form.SelectParameters["訓練課程企劃編號"].DefaultValue = 訓練課程企劃編號.ToString();
|
||||
ds調查表Form.SelectParameters["填表序號"].DefaultValue = 填表序號.ToString();
|
||||
FormView1.DataBind();
|
||||
|
||||
ds效益追蹤個人.SelectParameters["訓練課程企劃編號"].DefaultValue = 訓練課程企劃編號.ToString();
|
||||
ds效益追蹤個人.SelectParameters["填表序號"].DefaultValue = 填表序號.ToString();
|
||||
gv訓練效益個人.DataBind();
|
||||
}
|
||||
|
||||
protected string Get站別(object 填表人站別)
|
||||
{
|
||||
NameValueList data = ds站別.Select() as NameValueList;
|
||||
return data.GetName(填表人站別);
|
||||
}
|
||||
|
||||
protected void ds調查表Form_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = Dao訓練效益;
|
||||
}
|
||||
|
||||
protected void ds效益追蹤個人_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = Dao訓練效益個人;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 教育訓練效益追蹤調查表View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ds調查表Form 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds調查表Form;
|
||||
|
||||
/// <summary>
|
||||
/// ds站別 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds站別;
|
||||
|
||||
/// <summary>
|
||||
/// FormView1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView FormView1;
|
||||
|
||||
/// <summary>
|
||||
/// ds效益追蹤個人 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds效益追蹤個人;
|
||||
|
||||
/// <summary>
|
||||
/// gv訓練效益個人 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gv訓練效益個人;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
<%@ 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>
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 滿意度分析View : UserControlBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[Bindable(true)]
|
||||
public int 訓練課程企劃編號
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
protected void ds課程內容_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
|
||||
{
|
||||
e.InputParameters["訓練課程企劃編號"] = 訓練課程企劃編號;
|
||||
}
|
||||
|
||||
protected void dl課程內容_ItemDataBound(object sender, DataListItemEventArgs e)
|
||||
{
|
||||
HiddenField hf訓練課程企劃編號 = e.Item.FindControl("hf訓練課程企劃編號") as HiddenField;
|
||||
HiddenField hf課程序號 = e.Item.FindControl("hf課程序號") as HiddenField;
|
||||
ObjectDataSource ds滿意度分析 = e.Item.FindControl("ds滿意度分析") as ObjectDataSource;
|
||||
DataList dl滿意度分析 = e.Item.FindControl("dl滿意度分析") as DataList;
|
||||
|
||||
if (hf訓練課程企劃編號 != null && hf課程序號 != null && ds滿意度分析 != null && dl滿意度分析 != null)
|
||||
{
|
||||
ds滿意度分析.SelectParameters["訓練課程企劃編號"].DefaultValue = hf訓練課程企劃編號.Value;
|
||||
ds滿意度分析.SelectParameters["課程序號"].DefaultValue = hf課程序號.Value;
|
||||
dl滿意度分析.DataSource = ds滿意度分析;
|
||||
dl滿意度分析.DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 滿意度分析View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ds課程內容 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds課程內容;
|
||||
|
||||
/// <summary>
|
||||
/// dl課程內容 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DataList dl課程內容;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,296 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="訓練檢討報告View.ascx.cs"
|
||||
Inherits="Education.Forms.檢視UC.訓練檢討報告View" EnableViewState="false" %>
|
||||
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="weblib" %>
|
||||
<%@ Import namespace="Education" %>
|
||||
<asp:ObjectDataSource ID="ds訓練檢討報告" runat="server"
|
||||
DataObjectTypeName="Education.訓練檢討報告"
|
||||
OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="SelectOne" TypeName="Education.DAC_訓練檢討報告"
|
||||
OnObjectCreating="ds訓練檢討報告_ObjectCreating">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:FormView ID="FormView1" runat="server"
|
||||
EnableModelValidation="True" EnableViewState="False"
|
||||
DataKeyNames="訓練課程企劃編號,DB_APPNO" DataSourceID="ds訓練檢討報告"
|
||||
OnDataBound="FormView1_DataBound">
|
||||
<ItemTemplate>
|
||||
<table border="0" cellpadding="3" cellspacing="2"
|
||||
style="table-layout: fixed;">
|
||||
<tr>
|
||||
<td class="widthcontrol" colspan="1" style="width: 90px;"></td>
|
||||
<td class="widthcontrol" colspan="1"
|
||||
style="width: 120px;"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width: 90px;"></td>
|
||||
<td class="widthcontrol" colspan="1"
|
||||
style="width: 120px;"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width: 110px;"></td>
|
||||
<td class="widthcontrol" colspan="1"
|
||||
style="width: 120px;"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width: 90px;"></td>
|
||||
<td class="widthcontrol" colspan="1"
|
||||
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"
|
||||
CssClass="inputFull" Text='<%# Eval("填表日期", "{0:yyyy-MM-dd}") %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表人員Label" runat="server" Text="填表人員"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="2">
|
||||
<asp:Label ID="lb填表人員" runat="server" CssClass="inputFull"
|
||||
Text='<%# Bind("填表人員") %>'></asp:Label>
|
||||
<asp:Label ID="lb填表人員X" runat="server" CssClass="inputFull"
|
||||
Text='<%# Get員工姓名(Eval("填表人員")) %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label0" runat="server" Text="學員出席率"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb學員出席率" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label1" runat="server" Text="訓練經費"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb訓練經費" runat="server"></asp:Label>
|
||||
</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"></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"></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"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label2" runat="server">行政服務品<br/>質滿意度</asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb行政滿意度" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label4" runat="server">餐點與茶飲<br/>滿意度</asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb餐點滿意度" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label3" runat="server">場地滿意度</asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb場地滿意度" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label5" runat="server" Text="整體滿意度"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb整體滿意度" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb填表日期Label6" runat="server" Text="講師滿意度"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="7">
|
||||
<asp:GridView ID="gv講師滿意度" runat="server" AutoGenerateColumns="false">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="節次" HeaderText="節次">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="講師編號" DataFormatString="{0:0000}" HeaderText="講師編號">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="講師姓名" HeaderText="講師姓名">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="滿意度" DataFormatString="{0:##0.00}" HeaderText="滿意度">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:BoundField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</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" CssClass="inputFull"
|
||||
Text='<%# Eval("學員建議", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>'></asp:Label>
|
||||
</td>
|
||||
<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"
|
||||
CssClass="inputFull" Text='<%# Eval("檢討與改善", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>'></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"
|
||||
CssClass="inputFull" Text='<%# Eval("講師建議", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb檢討與改善1Label" runat="server" Text="檢討與改善"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="lb檢討與改善1" runat="server"
|
||||
CssClass="inputFull" Text='<%# Eval("檢討與改善1", "{0}").Replace("\r\n", "<br/>").Replace("\r", "<br/>").Replace("\n", "<br/>") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table border="0" cellpadding="3" cellspacing="2" style="table-layout:fixed; display:none">
|
||||
<tr>
|
||||
<td class="widthcontrol" colspan="1" style="width:90px"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width:280px"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width:170px"></td>
|
||||
<td class="widthcontrol" colspan="1" style="width:180px"></td>
|
||||
<td class="widthcontrol"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="caption">改善措施</th>
|
||||
<th class="caption">改善內容</th>
|
||||
<th class="caption">改善作法</th>
|
||||
<th class="caption">補充說明</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">學員</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb學員改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_學員名稱(Eval("改善措施_學員_改善內容")) %>' />
|
||||
<asp:Label ID="lb學員改善內容其他" runat="server" Text='<%# Eval("改善措施_學員_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb學員改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_學員_改善作法")) %>' />
|
||||
<asp:Label ID="lb學員改善作法其他" runat="server" Text='<%# Eval("改善措施_學員_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb學員補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_學員_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">講師</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb講師改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_講師名稱(Eval("改善措施_講師_改善內容")) %>' />
|
||||
<asp:Label ID="lb講師改善內容其他" runat="server" Text='<%# Eval("改善措施_講師_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb講師改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_講師_改善作法")) %>' />
|
||||
<asp:Label ID="lb講師改善作法其他" runat="server" Text='<%# Eval("改善措施_講師_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb講師補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_講師_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">教材及教具</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教材及教具改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_教材及教具名稱(Eval("改善措施_教材及教具_改善內容")) %>' />
|
||||
<asp:Label ID="lb教材及教具改善內容其他" runat="server" Text='<%# Eval("改善措施_教材及教具_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教材及教具改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_教材及教具_改善作法")) %>' />
|
||||
<asp:Label ID="lb教材及教具改善作法其他" runat="server" Text='<%# Eval("改善措施_教材及教具_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教材及教具補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_教材及教具_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">教學方法</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教學方法改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_教學方法名稱(Eval("改善措施_教學方法_改善內容")) %>' />
|
||||
<asp:Label ID="lb教學方法改善內容其他" runat="server" Text='<%# Eval("改善措施_教學方法_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教學方法改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_教學方法_改善作法")) %>' />
|
||||
<asp:Label ID="lb教學方法改善作法其他" runat="server" Text='<%# Eval("改善措施_教學方法_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb教學方法補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_教學方法_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">場地及設備</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb場地及設備改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_場地及設備名稱(Eval("改善措施_場地及設備_改善內容")) %>' />
|
||||
<asp:Label ID="lb場地及設備改善內容其他" runat="server" Text='<%# Eval("改善措施_場地及設備_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb場地及設備改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_場地及設備_改善作法")) %>' />
|
||||
<asp:Label ID="lb場地及設備改善作法其他" runat="server" Text='<%# Eval("改善措施_場地及設備_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb場地及設備補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_場地及設備_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">行政流程</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb行政流程改善內容" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善內容_行政流程名稱(Eval("改善措施_行政流程_改善內容")) %>' />
|
||||
<asp:Label ID="lb行政流程改善內容其他" runat="server" Text='<%# Eval("改善措施_行政流程_改善內容_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb行政流程改善作法" runat="server"
|
||||
Text='<%# DAC_檢討報告改善措施選項.Get改善作法名稱(Eval("改善措施_行政流程_改善作法")) %>' />
|
||||
<asp:Label ID="lb行政流程改善作法其他" runat="server" Text='<%# Eval("改善措施_行政流程_改善作法_其他") %>' />
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb行政流程補充說明" runat="server"
|
||||
Text='<%# Eval("改善措施_行政流程_補充說明") %>' />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 訓練檢討報告View : UserControlBase
|
||||
{
|
||||
int 課程企劃ID = 0;
|
||||
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
|
||||
課程企劃ID = DAC.GetInt32(單號);
|
||||
ds訓練檢討報告.SelectParameters["訓練課程企劃編號"].DefaultValue = 單號;
|
||||
FormView1.DataBind();
|
||||
}
|
||||
|
||||
protected void ds訓練檢討報告_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = new DAC_訓練檢討報告(ParentPage.conn);
|
||||
}
|
||||
|
||||
protected void FormView1_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (FormView1.CurrentMode == FormViewMode.ReadOnly && FormView1.FindControl("lb學員出席率") != null)
|
||||
{
|
||||
FindControl<Label>(FormView1, "lb學員出席率").Text = String.Format("{0:##0.00}%", Dao課程報名.Get出席率(課程企劃ID));
|
||||
|
||||
DAC_課程經費 Dao課程經費 = new DAC_課程經費(ParentPage.conn);
|
||||
FindControl<Label>(FormView1, "lb訓練經費").Text = String.Format("{0:###,###,##0}", Dao課程經費.Get經費合計(課程企劃ID));
|
||||
|
||||
DAC_滿意度調查課程企劃 Dao滿意度調查課程企劃 = new DAC_滿意度調查課程企劃(ParentPage.conn);
|
||||
DataTable d1 = Dao滿意度調查課程企劃.Select滿意度統計(課程企劃ID);
|
||||
|
||||
if (d1.Rows.Count > 0)
|
||||
{
|
||||
int 回收數 = DAC.GetInt32(d1.Rows[0]["回收數"]);
|
||||
DAC_學員出席 Dao學員出席 = new DAC_學員出席(ParentPage.conn);
|
||||
// int 參與人數 = Dao學員出席.Get參與人數(課程企劃ID);
|
||||
int 參與人數 = Dao課程報名.Get報名人數(課程企劃ID);
|
||||
|
||||
FindControl<Label>(FormView1, "lb行政滿意度").Text = String.Format("{0:##0.00}", d1.Rows[0]["行政滿意度"]);
|
||||
FindControl<Label>(FormView1, "lb餐點滿意度").Text = String.Format("{0:##0.00}", d1.Rows[0]["餐點滿意度"]);
|
||||
FindControl<Label>(FormView1, "lb場地滿意度").Text = String.Format("{0:##0.00}", d1.Rows[0]["場地滿意度"]);
|
||||
FindControl<Label>(FormView1, "lb整體滿意度").Text = String.Format("{0:##0.00}", d1.Rows[0]["整體滿意度"]);
|
||||
FindControl<Label>(FormView1, "lb參與人數").Text = String.Format("{0}", 參與人數);
|
||||
FindControl<Label>(FormView1, "lb回收數").Text = String.Format("{0}", 回收數);
|
||||
FindControl<Label>(FormView1, "lb回收率").Text = 參與人數 > 0 ? String.Format("{0:##0.00}", DAC.GetDecimal(回收數) / DAC.GetDecimal(參與人數) * 100) : "--";
|
||||
}
|
||||
else
|
||||
{
|
||||
FindControl<Label>(FormView1, "lb行政滿意度").Text = "";
|
||||
FindControl<Label>(FormView1, "lb餐點滿意度").Text = "";
|
||||
FindControl<Label>(FormView1, "lb場地滿意度").Text = "";
|
||||
FindControl<Label>(FormView1, "lb整體滿意度").Text = "";
|
||||
FindControl<Label>(FormView1, "lb參與人數").Text = "";
|
||||
FindControl<Label>(FormView1, "lb回收數").Text = "";
|
||||
FindControl<Label>(FormView1, "lb回收率").Text = "";
|
||||
}
|
||||
|
||||
DAC_滿意度調查講師 Dao滿意度調查講師 = new DAC_滿意度調查講師(ParentPage.conn);
|
||||
(FormView1.FindControl("gv講師滿意度") as GridView).DataSource = Dao滿意度調查講師.Select滿意度統計(課程企劃ID);
|
||||
(FormView1.FindControl("gv講師滿意度") as GridView).DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 訓練檢討報告View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ds訓練檢討報告 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds訓練檢討報告;
|
||||
|
||||
/// <summary>
|
||||
/// FormView1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView FormView1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,421 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="訓練課程企劃書View.ascx.cs"
|
||||
Inherits="Education.Forms.檢視UC.訓練課程企劃書View" EnableViewState="false" %>
|
||||
<%@ Import Namespace="WebLib" %>
|
||||
<%@ Import Namespace="Education" %>
|
||||
<%@ Register Src="~/Forms/Common/起訖日顯示.ascx" TagPrefix="uc1" TagName="起訖日顯示" %>
|
||||
<%@ Register Src="~/Forms/檢視UC/場地遴選View.ascx" TagPrefix="uc1" TagName="場地遴選View" %>
|
||||
<%@ Register Src="~/Forms/檢視UC/講師遴選View.ascx" TagPrefix="uc1" TagName="講師遴選View" %>
|
||||
<%@ Register Src="~/Forms/檢視UC/教材遴選View.ascx" TagPrefix="uc1" TagName="教材遴選View" %>
|
||||
|
||||
|
||||
<asp:ObjectDataSource ID="dsForm" runat="server"
|
||||
DataObjectTypeName="Education.訓練課程企劃"
|
||||
OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="SelectOne" TypeName="Education.DAC_訓練課程企劃"
|
||||
OnObjectCreating="dsForm_ObjectCreating">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="編號" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
<asp:ObjectDataSource ID="ds課程內容" runat="server"
|
||||
OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="SelectBy課程企劃"
|
||||
TypeName="Education.DAC_訓練課程內容"
|
||||
DataObjectTypeName="Education.訓練課程內容"
|
||||
OnObjectCreating="ds課程內容_ObjectCreating">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="訓練課程企劃編號" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
<a href="#" onclick="changeTab('1')" id="tabButton1" name="tabButton" class="tabButtonSelected">
|
||||
課程企劃書</a>
|
||||
<a href="#" onclick="changeTab('2')" id="tabButton2" name="tabButton" class="tabButton">
|
||||
課程內容</a>
|
||||
<a href="#" onclick="changeTab('3')" id="tabButton3" name="tabButton" class="tabButton">
|
||||
場地遴選</a>
|
||||
<div style="border-top: 1px solid #C0C0C0">
|
||||
<div id="page1" name="page" style="display: block">
|
||||
<asp:FormView ID="FormView1" runat="server" EnableModelValidation="True"
|
||||
EnableViewState="False" DataKeyNames="編號,DB_APPNO"
|
||||
DataSourceID="dsForm">
|
||||
<ItemTemplate>
|
||||
<table border="0" class="fixedwithoutborder">
|
||||
<tr>
|
||||
<td colspan="1" class="widthcontrol" style="width: 60pt;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: auto;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 90pt;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: auto;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 90pt;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: auto;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: 120pt;"></td>
|
||||
<td colspan="1" class="widthcontrol" style="width: auto;"></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" CssClass="inputFull" Text='<%# Bind("顯示編號") %>'></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='<%# Education.DAC_計畫別.Get計畫別名稱(Eval("計畫別")) %>'
|
||||
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="7">
|
||||
<asp:Label ID="lb訓練名稱" runat="server" CssClass="inputFull" Text='<%# Bind("訓練名稱") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb訓練日期Label" runat="server" Text="訓練日期"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<uc1:起訖日顯示 runat="server" ID="起訖日顯示" 起日='<%# Eval("訓練日期") %>' 迄日='<%# Eval("訓練日期迄") %>'
|
||||
Format="yyyyMMdd" />
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb訓練時數Label" runat="server" Text="訓練時數"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb訓練時數" runat="server" CssClass="inputFull"
|
||||
Text='<%# Bind("訓練時數") %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb預估經費Label" runat="server" Text="預估經費"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay">
|
||||
<asp:Label ID="lb預估經費" runat="server" CssClass="inputFull"
|
||||
Text='<%# Bind("預估經費") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb訓練目標Label" runat="server" Text="訓練目標"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="7">
|
||||
<asp:Label ID="lb訓練目標" runat="server" Text='<%# Eval("訓練目標", "{0}").Replace("\r", "<br/>") %>'
|
||||
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="7">
|
||||
<asp:Label ID="lb訓練場地" runat="server" Text='<%# GetData.取得選定場地(DAC.GetInt32(Eval("編號"))) %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb教學方法Label" runat="server" Text="教學方法"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="7">
|
||||
<asp:Label ID="lb教學方法" runat="server" CssClass="inputFull" Text='<%# Eval("教學方法", "{0}").Replace("\r", "<br/>") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb教學方法Label5" runat="server" Text="評估方式"></asp:Label>
|
||||
</td>
|
||||
<td colspan="7">
|
||||
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse;">
|
||||
<tr>
|
||||
<td style="background-color: #BBBBBB;">
|
||||
<asp:Label ID="lb教學方法Label1" runat="server" Text="反應"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb滿意度調查及分析Label" runat="server" Text="滿意度調查及分析"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb滿意度調查及分析" runat="server" CssClass="inputFull" Text='<%# Eval("滿意度調查及分析", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #BBBBBB;">
|
||||
<asp:Label ID="lb教學方法Label2" runat="server" Text="學習"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb課堂測驗Label" runat="server" Text="課堂測驗"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb課堂測驗" runat="server" CssClass="inputFull" Text='<%# Eval("課堂測驗", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb課堂分享Label" runat="server" Text="課堂分享"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb課堂分享" runat="server" CssClass="inputFull"
|
||||
Text='<%# Eval("課堂分享", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb演練Label" runat="server" Text="演練"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb演練" runat="server" CssClass="inputFull" Text='<%# Eval("演練", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #BBBBBB;">
|
||||
<asp:Label ID="lb教學方法Label3" runat="server" Text="行為"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb效益追蹤Label" runat="server" Text="效益追蹤調查(主管督導)"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb效益追蹤" runat="server" CssClass="inputFull" Text='<%# Eval("效益追蹤", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb心得報告Label" runat="server" Text="心得報告(本人)"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb心得報告" runat="server" CssClass="inputFull" Text='<%# Eval("心得報告", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb學習應用Label" runat="server" Text="學習應用(實做)"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb學習應用" runat="server" CssClass="inputFull" Text='<%# Eval("學習應用", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #BBBBBB;">
|
||||
<asp:Label ID="lb教學方法Label4" runat="server" Text="成果"></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb客戶滿意度Label" runat="server" Text="客戶滿意度"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb客戶滿意度" runat="server" CssClass="inputFull" Text='<%# Eval("客戶滿意度", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb民眾滿意度Label" runat="server" Text="民眾滿意度"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb民眾滿意度" runat="server" CssClass="inputFull" Text='<%# Eval("民眾滿意度", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb績效表揚Label" runat="server" Text="績效表揚"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb績效表揚" runat="server" CssClass="inputFull" Text='<%# Eval("績效表揚", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb傑出事蹟Label" runat="server" Text="傑出事蹟"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center;">
|
||||
<asp:Label ID="lb傑出事蹟" runat="server" CssClass="inputFull" Text='<%# Eval("傑出事蹟", "{0}").ToUpper() == "Y" ? "是" : "否" %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
※備註:評估方式勾選後,皆必須據相關證明文件。</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="lb預期效益Label" runat="server" Text="預期效益"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="7">
|
||||
<asp:Label ID="lb預期效益" runat="server" CssClass="inputFull" Text='<%# Eval("預期效益", "{0}").Replace("\r", "<br/>") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label2" runat="server" Text="人數"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb人數" runat="server" CssClass="inputFull" Text='<%# Bind("人數") %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label3" runat="server" Text="開放報名日期"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb開放報名日期" runat="server" CssClass="inputFull" Text='<%# Eval("開放報名日期", "{0:yyyyMMdd}") %>'></asp:Label>
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label4" runat="server" Text="報名截止期限"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb報名截止期限" runat="server" CssClass="inputFull" Text='<%# Bind("報名截止期限") %>'></asp:Label>
|
||||
天前
|
||||
</td>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label5" runat="server" Text="取消報名截止期限"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="1">
|
||||
<asp:Label ID="lb取消報名截止期限" runat="server" CssClass="inputFull" Text='<%# Bind("取消報名截止期限") %>'></asp:Label>
|
||||
天前
|
||||
</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" CssClass="inputFull" Text='<%# Bind("承辦") %>'></asp:Label>
|
||||
<asp:Label ID="lb承辦X" runat="server" Text='<%# Get員工姓名(Eval("承辦")) %>'></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}").ToUpper() == "Y" ? "是" : "否" %>'
|
||||
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}").ToUpper() == "Y" ? "是" : "否" %>'
|
||||
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}").ToUpper() == "Y" ? "是" : "否" %>'
|
||||
CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
</div>
|
||||
<div id="page2" name="page" style="display: none">
|
||||
<asp:Repeater ID="dl課程內容" runat="server" DataSourceID="ds課程內容">
|
||||
<HeaderTemplate>
|
||||
<table border="1" class="fixedwithborder" style="width:100%; border-collapse:collapse">
|
||||
<th style="width:50px">節次</th>
|
||||
<th>課程編號 / 課程類別</th>
|
||||
<th>日期時間</th>
|
||||
<th style="width:600px">課程名稱 / 課程大綱</th>
|
||||
<th style="width:50px">時數</th>
|
||||
<th>選定講師</th>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<tr>
|
||||
<td style="text-align:center">
|
||||
<asp:Label ID="Label1" runat="server" ForeColor="Blue"
|
||||
Text='<%# Bind("節次") %>'></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label18" runat="server" ForeColor="Blue"
|
||||
Text='<%# Bind("課程編號") %>'></asp:Label>
|
||||
<br />
|
||||
[<asp:Label ID="Label19" runat="server"
|
||||
Text='<%# Bind("課程類別") %>'></asp:Label>]
|
||||
<asp:Label ID="Label4X" runat="server"
|
||||
Text='<%# Get類別名稱("課程類別", Eval("課程類別")) %>'></asp:Label>
|
||||
</td>
|
||||
<td style="text-align:center">
|
||||
<asp:Label ID="lb訓練日期" runat="server" MaxLength="5" Text='<%# Eval("訓練日期", "{0:yyyy-MM-dd}") %>'></asp:Label><br />
|
||||
<asp:Label ID="lb時間" runat="server" MaxLength="5" Text='<%# Education.訓練課程內容.Get起訖時間Str(Eval("時間起"), Eval("時間迄")) %>'></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label20" runat="server"
|
||||
Text='<%# Bind("課程名稱") %>' ForeColor="Blue"></asp:Label>
|
||||
<div style="padding-left: 10px">
|
||||
<asp:Label ID="Label21" runat="server"
|
||||
Text='<%# Eval("課程大綱", "{0}").Replace("\r\n", "<br/>") %>'></asp:Label>
|
||||
</div>
|
||||
</td>
|
||||
<td style="text-align:center">
|
||||
<asp:Label ID="Label22" runat="server"
|
||||
Text='<%# Bind("時數") %>'></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="Label23" runat="server" Text='<%# Get選定講師(Eval("訓練課程企劃編號"), Eval("課程序號")) %>'></asp:Label><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="padding: 5px 5px 5px 20px">
|
||||
<uc1:講師遴選View runat="server" ID="講師遴選View"
|
||||
單號='<%# String.Format("{0}|{1}", Eval("訓練課程企劃編號"), Eval("課程序號")) %>'
|
||||
OnDataBinding="講師遴選View_DataBinding" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="padding: 5px 5px 5px 20px">
|
||||
<uc1:教材遴選View runat="server" ID="教材遴選View" 單號='<%# String.Format("{0}|{1}", Eval("訓練課程企劃編號"), Eval("課程序號")) %>'
|
||||
OnDataBinding="教材遴選View_DataBinding"/>
|
||||
</td>
|
||||
</tr>
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
</table>
|
||||
</FooterTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
<asp:GridView ID="gv課程內容" runat="server" Visible="false"
|
||||
AutoGenerateColumns="False" DataKeyNames="訓練課程企劃編號,課程序號,DB_APPNO"
|
||||
DataSourceID="ds課程內容" EnableModelValidation="True" CssClass="fixedwithborder"
|
||||
Width="100%">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="節次" HeaderText="節次"
|
||||
ReadOnly="True">
|
||||
<HeaderStyle Width="50px" />
|
||||
<ItemStyle HorizontalAlign="Center" Width="50px" VerticalAlign="Top" />
|
||||
</asp:BoundField>
|
||||
<asp:TemplateField HeaderText="課程編號 / 課程類別">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label18" runat="server" ForeColor="Blue"
|
||||
Text='<%# Bind("課程編號") %>'></asp:Label>
|
||||
<br />
|
||||
[<asp:Label ID="Label19" runat="server"
|
||||
Text='<%# Bind("課程類別") %>'></asp:Label>]
|
||||
<asp:Label ID="Label4X" runat="server"
|
||||
Text='<%# Get類別名稱("課程類別", Eval("課程類別")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle />
|
||||
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="日期時間">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lb訓練日期" runat="server" MaxLength="5" Text='<%# Eval("訓練日期", "{0:yyyy-MM-dd}") %>'></asp:Label><br />
|
||||
<asp:Label ID="lb時間" runat="server" MaxLength="5" Text='<%# Education.訓練課程內容.Get起訖時間Str(Eval("時間起"), Eval("時間迄")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle />
|
||||
<ItemStyle HorizontalAlign="Center" VerticalAlign="Top" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="課程名稱 / 課程大綱">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label20" runat="server"
|
||||
Text='<%# Bind("課程名稱") %>' ForeColor="Blue"></asp:Label>
|
||||
<div style="padding-left: 10px">
|
||||
<asp:Label ID="Label21" runat="server"
|
||||
Text='<%# Eval("課程大綱", "{0}").Replace("\r\n", "<br/>") %>'></asp:Label>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle Width="600px" />
|
||||
<ItemStyle Width="600px" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="時數" SortExpression="時數">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label22" runat="server"
|
||||
Text='<%# Bind("時數") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle Width="50px" />
|
||||
<ItemStyle HorizontalAlign="Center" Width="50px" VerticalAlign="Top" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="選定講師">
|
||||
<ItemTemplate>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle />
|
||||
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</div>
|
||||
<div id="page3" name="page" style="display: none">
|
||||
<uc1:場地遴選View runat="server" ID="場地遴選View" 單號="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 訓練課程企劃書View : UserControlBase
|
||||
{
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
ParentPage = Page as FormBase;
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
}
|
||||
|
||||
public override void DataBind()
|
||||
{
|
||||
dsForm.SelectParameters["編號"].DefaultValue = 單號;
|
||||
|
||||
ds課程內容.SelectParameters["訓練課程企劃編號"].DefaultValue = 單號;
|
||||
|
||||
場地遴選View.ParentPage = this.ParentPage;
|
||||
場地遴選View.單號 = 單號;
|
||||
|
||||
base.DataBind();
|
||||
}
|
||||
|
||||
protected void dsForm_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = Dao訓練課程企劃;
|
||||
}
|
||||
|
||||
protected void ds課程內容_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
|
||||
{
|
||||
e.ObjectInstance = new DAC_訓練課程內容(ParentPage.conn);
|
||||
}
|
||||
|
||||
protected string Get選定講師(object 訓練課程企劃編號, object 課程序號)
|
||||
{
|
||||
講師 d = GetData.取得選定講師(DAC.GetInt32(訓練課程企劃編號), DAC.GetInt32(課程序號));
|
||||
if (d.編號 == 0)
|
||||
return "";
|
||||
else
|
||||
return string.Format("[{0:0000}]<br>{1}", d.編號, d.姓名);
|
||||
}
|
||||
|
||||
protected void 講師遴選View_DataBinding(object sender, EventArgs e)
|
||||
{
|
||||
(sender as 講師遴選View).ParentPage = this.ParentPage;
|
||||
}
|
||||
|
||||
protected void 教材遴選View_DataBinding(object sender, EventArgs e)
|
||||
{
|
||||
(sender as 教材遴選View).ParentPage = this.ParentPage;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 訓練課程企劃書View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// dsForm 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource dsForm;
|
||||
|
||||
/// <summary>
|
||||
/// ds課程內容 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ds課程內容;
|
||||
|
||||
/// <summary>
|
||||
/// FormView1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView FormView1;
|
||||
|
||||
/// <summary>
|
||||
/// dl課程內容 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater dl課程內容;
|
||||
|
||||
/// <summary>
|
||||
/// gv課程內容 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gv課程內容;
|
||||
|
||||
/// <summary>
|
||||
/// 場地遴選View 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::Education.Forms.檢視UC.場地遴選View 場地遴選View;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,192 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="講師遴選View.ascx.cs" Inherits="Education.Forms.檢視UC.講師遴選View"
|
||||
EnableViewState="false" %>
|
||||
<table style="table-layout: fixed; width: 100%;">
|
||||
<%-- <tr>
|
||||
<td style="width: 145px" class="caption">
|
||||
<asp:Label ID="Label9" runat="server" Text="課程企劃"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="lb課程企劃" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 145px" class="caption">
|
||||
<asp:Label ID="Label10" runat="server" Text="課程內容"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="lb課程內容" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>--%>
|
||||
<tr>
|
||||
<td style="width: 145px"> </td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label11" runat="server" Text="講師一"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label12" runat="server" Text="講師二"></asp:Label>
|
||||
</td>
|
||||
<td class="captionCenter" colspan="1" style="width: 33%">
|
||||
<asp:Label ID="Label13" runat="server" Text="講師三"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label15" runat="server" Text="姓名"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師一" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師二" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師三" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label23" runat="server" Text="學歷"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師一0" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師二0" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師三0" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label24" runat="server" Text="現職"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師一1" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師二1" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb講師三1" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label16" runat="server" Text="師資來源"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="ddl師資來源A" runat="server">
|
||||
</asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="ddl師資來源B" runat="server">
|
||||
</asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="ddl師資來源C" runat="server">
|
||||
</asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label17" runat="server" Text="專業背景 25%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt專業背景A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt專業背景B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt專業背景C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label18" runat="server" Text="講授經驗 25%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt講授經驗A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt講授經驗B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt講授經驗C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label19" runat="server" Text="口碑與評價 20%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt口碑評價A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt口碑評價B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt口碑評價C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label20" runat="server" Text="費用 20%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt費用A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt費用B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt費用C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label21" runat="server" Text="配合度 10%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt配合度A" runat="server" Columns="6" MaxLength="2" ValidationGroup="1"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt配合度B" runat="server" Columns="6" MaxLength="2" ValidationGroup="2"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="txt配合度C" runat="server" Columns="6" MaxLength="2" ValidationGroup="3"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label22" runat="server" Text="合計 100%"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計A" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計B" runat="server"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" style="text-align: center">
|
||||
<asp:Label ID="lb合計C" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label25" runat="server" Text="總評"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt總評" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="caption">
|
||||
<asp:Label ID="Label26" runat="server" Text="備註"></asp:Label>
|
||||
</td>
|
||||
<td class="datadisplay" colspan="3">
|
||||
<asp:Label ID="txt備註" runat="server" CssClass="inputFull"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebLib;
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
public partial class 講師遴選View : UserControlBase
|
||||
{
|
||||
private Dictionary<string, string> 講師來源List = new Dictionary<string, string>();
|
||||
|
||||
public override void DataBind()
|
||||
{
|
||||
base.DataBind();
|
||||
|
||||
講師來源List.Add("" , "");
|
||||
講師來源List.Add("O", "原合作");
|
||||
講師來源List.Add("N", "新開發");
|
||||
|
||||
int 課程企劃ID = 0;
|
||||
int 課程序號 = 0;
|
||||
|
||||
if (單號 == null)
|
||||
return;
|
||||
|
||||
string[] keyArr = 單號.Split('|');
|
||||
|
||||
if (keyArr.Length > 0)
|
||||
課程企劃ID = DAC.GetInt32(keyArr[0]);
|
||||
if (keyArr.Length > 1)
|
||||
課程序號 = DAC.GetInt32(keyArr[1]);
|
||||
|
||||
DAC_訓練課程企劃 Dao課程企劃 = new DAC_訓練課程企劃(ParentPage.conn);
|
||||
DAC_訓練課程內容 Dao課程內容 = new DAC_訓練課程內容(ParentPage.conn);
|
||||
DAC_講師遴選 Dao講師遴選 = new DAC_講師遴選(ParentPage.conn);
|
||||
|
||||
訓練課程企劃List v1 = Dao課程企劃.SelectOne(課程企劃ID);
|
||||
訓練課程內容List v2 = Dao課程內容.SelectOne(課程企劃ID, 課程序號);
|
||||
講師遴選List v3 = Dao講師遴選.SelectOne(課程企劃ID, 課程序號);
|
||||
|
||||
//if (v1.Count > 0)
|
||||
//{
|
||||
// lb課程企劃.Text = String.Format("[{0}] {1}", v1[0].顯示編號, v1[0].訓練名稱);
|
||||
//}
|
||||
|
||||
//if (v2.Count > 0)
|
||||
//{
|
||||
// lb課程內容.Text = String.Format("[{0}] {1}", v2[0].節次, v2[0].課程名稱);
|
||||
//}
|
||||
|
||||
lb講師一.Text = "(尚未選擇)";
|
||||
lb講師二.Text = "(尚未選擇)";
|
||||
lb講師三.Text = "(尚未選擇)";
|
||||
|
||||
lb講師一0.Text = "";
|
||||
lb講師一1.Text = "";
|
||||
ddl師資來源A.Text = "";
|
||||
txt專業背景A.Text = "";
|
||||
txt講授經驗A.Text = "";
|
||||
txt口碑評價A.Text = "";
|
||||
txt費用A.Text = "";
|
||||
txt配合度A.Text = "";
|
||||
lb合計A.Text = "";
|
||||
|
||||
lb講師二0.Text = "";
|
||||
lb講師二1.Text = "";
|
||||
ddl師資來源B.Text = "";
|
||||
txt專業背景B.Text = "";
|
||||
txt講授經驗B.Text = "";
|
||||
txt口碑評價B.Text = "";
|
||||
txt費用B.Text = "";
|
||||
txt配合度B.Text = "";
|
||||
lb合計B.Text = "";
|
||||
|
||||
lb講師三0.Text = "";
|
||||
lb講師三1.Text = "";
|
||||
ddl師資來源C.Text = "";
|
||||
txt專業背景C.Text = "";
|
||||
txt講授經驗C.Text = "";
|
||||
txt口碑評價C.Text = "";
|
||||
txt費用C.Text = "";
|
||||
txt配合度C.Text = "";
|
||||
lb合計C.Text = "";
|
||||
|
||||
if (v3.Count > 0)
|
||||
{
|
||||
if (v3[0].講師編號_A > 0)
|
||||
{
|
||||
lb講師一.Text = String.Format("[{0:0000}] {1}", v3[0].講師編號_A, Dao講師.Get姓名(v3[0].講師編號_A));
|
||||
lb講師一0.Text = v3[0].學歷_A;
|
||||
lb講師一1.Text = v3[0].現職_A;
|
||||
ddl師資來源A.Text = 講師來源List[v3[0].師資來源_A];
|
||||
txt專業背景A.Text = v3[0].專業背景_A.ToString();
|
||||
txt講授經驗A.Text = v3[0].講授經驗_A.ToString();
|
||||
txt口碑評價A.Text = v3[0].口碑與評價_A.ToString();
|
||||
txt費用A.Text = v3[0].費用_A.ToString();
|
||||
txt配合度A.Text = v3[0].配合度_A.ToString();
|
||||
lb合計A.Text = v3[0].合計_A.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(v3[0].講師姓名_A))
|
||||
{
|
||||
lb講師一.Text = v3[0].講師姓名_A;
|
||||
lb講師一0.Text = v3[0].學歷_A;
|
||||
lb講師一1.Text = v3[0].現職_A;
|
||||
ddl師資來源A.Text = 講師來源List[v3[0].師資來源_A];
|
||||
txt專業背景A.Text = v3[0].專業背景_A.ToString();
|
||||
txt講授經驗A.Text = v3[0].講授經驗_A.ToString();
|
||||
txt口碑評價A.Text = v3[0].口碑與評價_A.ToString();
|
||||
txt費用A.Text = v3[0].費用_A.ToString();
|
||||
txt配合度A.Text = v3[0].配合度_A.ToString();
|
||||
lb合計A.Text = v3[0].合計_A.ToString();
|
||||
}
|
||||
|
||||
if (v3[0].講師編號_B > 0)
|
||||
{
|
||||
lb講師二.Text = String.Format("[{0:0000}] {1}", v3[0].講師編號_B, Dao講師.Get姓名(v3[0].講師編號_B));
|
||||
lb講師二0.Text = v3[0].學歷_B;
|
||||
lb講師二1.Text = v3[0].現職_B;
|
||||
ddl師資來源B.Text = 講師來源List[v3[0].師資來源_B];
|
||||
txt專業背景B.Text = v3[0].專業背景_B.ToString();
|
||||
txt講授經驗B.Text = v3[0].講授經驗_B.ToString();
|
||||
txt口碑評價B.Text = v3[0].口碑與評價_B.ToString();
|
||||
txt費用B.Text = v3[0].費用_B.ToString();
|
||||
txt配合度B.Text = v3[0].配合度_B.ToString();
|
||||
lb合計B.Text = v3[0].合計_B.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(v3[0].講師姓名_B))
|
||||
{
|
||||
lb講師二.Text = v3[0].講師姓名_B;
|
||||
lb講師二0.Text = v3[0].學歷_B;
|
||||
lb講師二1.Text = v3[0].現職_B;
|
||||
ddl師資來源B.Text = 講師來源List[v3[0].師資來源_B];
|
||||
txt專業背景B.Text = v3[0].專業背景_B.ToString();
|
||||
txt講授經驗B.Text = v3[0].講授經驗_B.ToString();
|
||||
txt口碑評價B.Text = v3[0].口碑與評價_B.ToString();
|
||||
txt費用B.Text = v3[0].費用_B.ToString();
|
||||
txt配合度B.Text = v3[0].配合度_B.ToString();
|
||||
lb合計B.Text = v3[0].合計_B.ToString();
|
||||
}
|
||||
|
||||
if (v3[0].講師編號_C > 0)
|
||||
{
|
||||
lb講師三.Text = String.Format("[{0:0000}] {1}", v3[0].講師編號_C, Dao講師.Get姓名(v3[0].講師編號_C));
|
||||
lb講師三0.Text = v3[0].學歷_C;
|
||||
lb講師三1.Text = v3[0].現職_C;
|
||||
ddl師資來源C.Text = 講師來源List[v3[0].師資來源_C];
|
||||
txt專業背景C.Text = v3[0].專業背景_C.ToString();
|
||||
txt講授經驗C.Text = v3[0].講授經驗_C.ToString();
|
||||
txt口碑評價C.Text = v3[0].口碑與評價_C.ToString();
|
||||
txt費用C.Text = v3[0].費用_C.ToString();
|
||||
txt配合度C.Text = v3[0].配合度_C.ToString();
|
||||
lb合計C.Text = v3[0].合計_C.ToString();
|
||||
}
|
||||
else if (!String.IsNullOrEmpty(v3[0].講師姓名_C))
|
||||
{
|
||||
lb講師三.Text = v3[0].講師姓名_C;
|
||||
lb講師三0.Text = v3[0].學歷_C;
|
||||
lb講師三1.Text = v3[0].現職_C;
|
||||
ddl師資來源C.Text = 講師來源List[v3[0].師資來源_C];
|
||||
txt專業背景C.Text = v3[0].專業背景_C.ToString();
|
||||
txt講授經驗C.Text = v3[0].講授經驗_C.ToString();
|
||||
txt口碑評價C.Text = v3[0].口碑與評價_C.ToString();
|
||||
txt費用C.Text = v3[0].費用_C.ToString();
|
||||
txt配合度C.Text = v3[0].配合度_C.ToString();
|
||||
lb合計C.Text = v3[0].合計_C.ToString();
|
||||
}
|
||||
|
||||
txt總評.Text = v3[0].總評.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
txt備註.Text = v3[0].備註.Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+440
@@ -0,0 +1,440 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自動產生>
|
||||
// 這段程式碼是由工具產生的。
|
||||
//
|
||||
// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生
|
||||
// 程式碼,則會遺失變更。
|
||||
// </自動產生>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Education.Forms.檢視UC
|
||||
{
|
||||
|
||||
|
||||
public partial class 講師遴選View
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Label11 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label11;
|
||||
|
||||
/// <summary>
|
||||
/// Label12 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label12;
|
||||
|
||||
/// <summary>
|
||||
/// Label13 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label13;
|
||||
|
||||
/// <summary>
|
||||
/// Label15 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label15;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師一 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師一;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師二 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師二;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師三 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師三;
|
||||
|
||||
/// <summary>
|
||||
/// Label23 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label23;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師一0 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師一0;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師二0 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師二0;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師三0 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師三0;
|
||||
|
||||
/// <summary>
|
||||
/// Label24 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label24;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師一1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師一1;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師二1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師二1;
|
||||
|
||||
/// <summary>
|
||||
/// lb講師三1 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb講師三1;
|
||||
|
||||
/// <summary>
|
||||
/// Label16 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label16;
|
||||
|
||||
/// <summary>
|
||||
/// ddl師資來源A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label ddl師資來源A;
|
||||
|
||||
/// <summary>
|
||||
/// ddl師資來源B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label ddl師資來源B;
|
||||
|
||||
/// <summary>
|
||||
/// ddl師資來源C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label ddl師資來源C;
|
||||
|
||||
/// <summary>
|
||||
/// Label17 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label17;
|
||||
|
||||
/// <summary>
|
||||
/// txt專業背景A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt專業背景A;
|
||||
|
||||
/// <summary>
|
||||
/// txt專業背景B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt專業背景B;
|
||||
|
||||
/// <summary>
|
||||
/// txt專業背景C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt專業背景C;
|
||||
|
||||
/// <summary>
|
||||
/// Label18 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label18;
|
||||
|
||||
/// <summary>
|
||||
/// txt講授經驗A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt講授經驗A;
|
||||
|
||||
/// <summary>
|
||||
/// txt講授經驗B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt講授經驗B;
|
||||
|
||||
/// <summary>
|
||||
/// txt講授經驗C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt講授經驗C;
|
||||
|
||||
/// <summary>
|
||||
/// Label19 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label19;
|
||||
|
||||
/// <summary>
|
||||
/// txt口碑評價A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt口碑評價A;
|
||||
|
||||
/// <summary>
|
||||
/// txt口碑評價B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt口碑評價B;
|
||||
|
||||
/// <summary>
|
||||
/// txt口碑評價C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt口碑評價C;
|
||||
|
||||
/// <summary>
|
||||
/// Label20 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label20;
|
||||
|
||||
/// <summary>
|
||||
/// txt費用A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt費用A;
|
||||
|
||||
/// <summary>
|
||||
/// txt費用B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt費用B;
|
||||
|
||||
/// <summary>
|
||||
/// txt費用C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt費用C;
|
||||
|
||||
/// <summary>
|
||||
/// Label21 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label21;
|
||||
|
||||
/// <summary>
|
||||
/// txt配合度A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt配合度A;
|
||||
|
||||
/// <summary>
|
||||
/// txt配合度B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt配合度B;
|
||||
|
||||
/// <summary>
|
||||
/// txt配合度C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt配合度C;
|
||||
|
||||
/// <summary>
|
||||
/// Label22 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label22;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計A 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計A;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計B 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計B;
|
||||
|
||||
/// <summary>
|
||||
/// lb合計C 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lb合計C;
|
||||
|
||||
/// <summary>
|
||||
/// Label25 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label25;
|
||||
|
||||
/// <summary>
|
||||
/// txt總評 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt總評;
|
||||
|
||||
/// <summary>
|
||||
/// Label26 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label26;
|
||||
|
||||
/// <summary>
|
||||
/// txt備註 控制項。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自動產生的欄位。
|
||||
/// 若要修改,請將欄位宣告從設計工具檔案移到程式碼後置檔案。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label txt備註;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user