chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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 ShowCourseDetail : FormBase
|
||||
{
|
||||
protected int 課程ID;
|
||||
protected DAC_場地遴選 Dao場地遴選;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
FunctionName = "課程詳情";
|
||||
|
||||
Dao場地遴選 = new DAC_場地遴選(conn);
|
||||
|
||||
if (!IsPostBack)
|
||||
{
|
||||
課程ID = DAC.GetInt32(Request["id"]);
|
||||
}
|
||||
}
|
||||
|
||||
protected string Get訓練地點()
|
||||
{
|
||||
場地 d = GetData.取得選定場地(課程ID);
|
||||
return d.場地名稱;
|
||||
}
|
||||
|
||||
protected string Get課程講師姓名(object 課程序號)
|
||||
{
|
||||
講師 d = GetData.取得選定講師(課程ID, DAC.GetInt32(課程序號));
|
||||
return d.姓名;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user