<input>タグの場合は、テキストをInnterTextで中に入れるタイプではないので、Valueにセットする。
HtmlInputControl.Value プロパティ (System.Web.UI.HtmlControls) | Microsoft Docs
Default.aspxで、
こう書いて、
Default.aspx.csで、
こう書く。
![最初はこうだが、クリックすると、](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220318/20220318193137.png)
最初はこうだが、クリックすると、
![こうなる。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220318/20220318193235.png)
こうなる。
Sample/aspnet/HtmlInputControl/Value/src/HtmlInputControl at master · bg1bgst333/Sample · GitHub