在 Form Load 中設定 Button1 的 Attributes 屬性:

btnSubmit.Attributes.Add("onclick", "this.disabled=true;" + GetPostBackEventReference(btnSubmit).ToString());

文章標籤
全站熱搜
創作者介紹
創作者 法蘭克不要怕 的頭像
法蘭克不要怕

法蘭克不要怕

法蘭克不要怕 發表在 痞客邦 留言(0) 人氣(352)