chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
|
||||
namespace Education.Forms
|
||||
{
|
||||
public partial class _500 : FormBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
lbErrCode.Text = Request["errcode"];
|
||||
|
||||
if (PublicVariable.DEBUG)
|
||||
{
|
||||
Panel1.Visible = true;
|
||||
txtErrLog.Text = File.ReadAllText(Server.MapPath(string.Format(@"~/Log/{0}.txt", lbErrCode.Text)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user