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,54 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebLib;
namespace Education
{
public class
{
public const string _節 = "節";
public const string _時 = "時";
public const string _天 = "天";
public const string _場 = "場";
public const string _式 = "式";
public const string _千字 = "千字";
///<summary>
/// 單位別 輸入用下拉清單資料
///</summary>
public static NameValueList InputSelectList = new NameValueList()
{
{ "(請選擇)", "" },
{ "節", _節 },
{ "時", _時 },
{ "天", _天 },
{ "場", _場 },
{ "式", _式 },
{ "千字", _千字 },
};
///<summary>
/// 單位別 查詢用下拉清單資料
///</summary>
public static NameValueList SearchSelectList = new NameValueList()
{
{ "(全部)", "" },
{ "節", _節 },
{ "時", _時 },
{ "天", _天 },
{ "場", _場 },
{ "式", _式 },
{ "千字", _千字 },
};
///<summary>
/// 單位別 由值取得名稱
///</summary>
public static string GetName(object value)
{
return InputSelectList.GetName(value);
}
}
}