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,50 @@
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心得報告討論;
private int ID;
protected void Page_Load(object sender, EventArgs e)
{
FunctionName = "心得報告討論管理";
ID = DAC.GetInt32(Request["id"]);
Dao心得報告討論 = new DAC_心得報告討論(conn);
Grid_View = gv心得報告討論;
GridView_DataSource = ds心得報告討論;
if (IsPostBack)
Grid_View.DataBind();
}
protected void gv心得報告討論_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "上架")
{
Dao心得報告討論.(ID, DAC.GetInt32(e.CommandArgument));
Grid_View.DataBind();
}
else if (e.CommandName == "下架")
{
Dao心得報告討論.(ID, DAC.GetInt32(e.CommandArgument));
Grid_View.DataBind();
}
}
protected void ds心得報告討論_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
{
e.ObjectInstance = Dao心得報告討論;
}
}
}