继承模板页的页面,为什么无法使用服务器控件显示错误如下Controlctl00_ContentPlaceHolder1_Button1oftyp
继承模板页的页面,为什么无法使用服务器控件
显示错误如下;
Control 'ctl00_ContentPlaceHolder1_Button1 ' of type 'Button ' must be placed inside a form tag with runat=server
[解决办法]
你的按钮必须放在ContentPlaceHolder里面,注意HTML代码看看有没有误
