摘要:王者歸來HTML元件 筆記整理
後端設長寬
txt.Height = new Unit(100);
txt.Height = new Unit("100%");
背景顏色
int red = 0, blue=0, green = 100;
Button1.Backcolor = Color.FronArgb(red , blue , green);
或
Button1.Backcolor = Color.Red;
表單預設按鈕
<Form id = "Form1" runat="server" defaultbutton = "Button1">
Label執行時會被包在Span裡面,Literal則沒有