最近吵的沸沸揚揚的中正廟牌匾大作戰,
網路上早有人在舉辦到底「大中至正」要換成什麼字才好...
如果這個有公信力的話,我想推這個
突發奇想,
不如掛個大型LED上去,以後還可以比照台北101出租賺廣告費呢
突發奇想,
不如掛個大型LED上去,以後還可以比照台北101出租賺廣告費呢
1.直接在「物件總管」中的「資料庫」上按右鍵,選取「還原資料庫」
2.在「目的地資料庫」中輸入資料庫的名稱
3.記得修改原始檔案名稱的檔案路徑
To display the formatted code on your site, you need to get this CSS stylesheet, and add a reference to it in the section of your page:
<!-- code formatted by http://manoli.net/csharpformat/ -->
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: Consolas, "Courier New", Courier, Monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
/* Variable definitions
====================
當然也是可以顯示行號的:
void Session_Start(object sender, EventArgs e)
{
this.Application.Lock();
//記錄現在線上人數
int OnlineNum = Convert.ToInt32(this.Application.Get("who_online"));
this.Application.Set("who_online", OnlineNum + 1);
this.Application.UnLock();
}
1: void Session_Start(object sender, EventArgs e)
2: {
3: this.Application.Lock();
4: //記錄現在線上人數
5: int OnlineNum = Convert.ToInt32(this.Application.Get("who_online"));
6: this.Application.Set("who_online", OnlineNum + 1);
7: this.Application.UnLock();
8:
9: }
void Application_Error(object sender, EventArgs e)
{
// 發生未處理錯誤時執行的程式碼
Exception ex = Server.GetLastError();
if (ex is HttpException)
{
Server.ClearError();
Response.Redirect("~/ErrorPage.aspx?ErrorInfo=" + ex.Message);
}
else
{
Response.Redirect("~/ErrorPage.aspx?ErrorInfo=系統忙錄中,請您稍後再試...");
}
}