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.辦訓狀況 { public partial class 訓練檢討報告處理 : FormBase { protected void Page_Load(object sender, EventArgs e) { FunctionName = "訓練檢討報告處理"; Form_View = FormView1; FormView_DataSource = ds訓練檢討報告; if (IsPostBack) { Panel1.Visible = 訓練企劃搜尋.訓練企劃編號 > 0; if (Panel1.Visible) Form_View.DataBind(); } } protected void ds已上課_ObjectCreating(object sender, ObjectDataSourceEventArgs e) { e.ObjectInstance = Dao訓練課程企劃; } protected void btn查詢_Click(object sender, EventArgs e) { Form_View.DataBind(); } protected override void FormView_ReadOnlyDataBound(object sender, EventArgs e) { base.FormView_ReadOnlyDataBound(sender, e); if (訓練企劃搜尋.訓練企劃編號 > 0 && FindControl