Asp.Net 以動態方式 在前台加入靜態文字

分類:Asp.Net


this.Controls.Add(new LiteralControl("hello there"));

當前台沒有可接收的控制項時 , 可用 LiteralControl 輸出