chore: 首次簽入 Thinkyu ASP.NET 專案

- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
2026-09-10 09:42:37 +08:00
commit 577060bc78
2496 changed files with 501389 additions and 0 deletions
@@ -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訓練效益個人;
}
}
}