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,55 @@
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.
{
public partial class 使 : FormBase
{
private DAC_課程經費 Dao課程經費;
protected void Page_Load(object sender, EventArgs e)
{
FunctionName = "課程使用經費登錄";
Dao課程經費 = new DAC_課程經費(conn);
if (IsPostBack)
{
Panel1.Visible = . > 0;
if (Panel1.Visible)
GridView1.DataBind();
}
}
protected void btnInsert_Click(object sender, EventArgs e)
{
if (!IsValid)
return;
newValue = new ();
newValue. = .;
newValue. = rbl收支.SelectedValue;
newValue. = DAC.GetInt32(txt金額.Text);
newValue. = txt摘要.Text;
Dao課程經費.InsertOne(newValue);
txt金額.Text = "";
txt摘要.Text = "";
GridView1.DataBind();
}
protected void ds已上課_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
{
e.ObjectInstance = Dao訓練課程企劃;
}
protected void btn查詢1_Click(object sender, EventArgs e)
{
GridView1.DataBind();
}
}
}