可能html中加入了该控件,但是后代码中没有自动加进来
你可以关闭再打开该文件,
或者手工在后代码中加入
protected System.Web.UI.HtmlControls.HtmlGenericControl Span1;