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,38 @@
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 ShowContent : FormBase
{
protected void Page_Load(object sender, EventArgs e)
{
switch (Request["type"])
{
case "CourseChange":
DAC_訓練課程異動通知 Dao異動通知 = new DAC_訓練課程異動通知(conn);
int id = DAC.GetInt32(Request["id"]);
int item = DAC.GetInt32(Request["item"]);
List d1 = Dao異動通知.SelectOne(id, item);
if (d1.Count > 0)
Label1.Text = d1[0]..Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
break;
case "OnlineCourse":
id = DAC.GetInt32(Request["id"]);
DAC_數位課程 Dao數位課程 = new DAC_數位課程(conn);
List d2 = Dao數位課程.SelectOne(id);
if (d2.Count > 0)
Label1.Text = d2[0]..Replace("\r\n", "<br>").Replace("\r", "<br>").Replace("\n", "<br>");
break;
}
}
}
}