<input>タグのtype属性が"button"の場合は、HtmlInputButtonオブジェクトになる。
HtmlInputButton クラス (System.Web.UI.HtmlControls) | Microsoft Docs
Default.aspxで、
<input>タグのinput1を置く。
Default.aspx.csで、
Page_Loadで、input1の型名をinput1.Valueにセット。
input1の型名はHtmlInputButton。
<input>タグのtype属性が"button"の場合は、HtmlInputButtonオブジェクトになる。
HtmlInputButton クラス (System.Web.UI.HtmlControls) | Microsoft Docs
Default.aspxで、
<input>タグのinput1を置く。
Default.aspx.csで、
Page_Loadで、input1の型名をinput1.Valueにセット。
input1の型名はHtmlInputButton。