在后端代码(通常是代码隐藏文件,即 .aspx.cs 文件)中,确保声明如下: protected System.Web.UI.HtmlControls.HtmlInputText txt_VRange;