一个调试中很奇怪的问题??向大家请教!!在线等!!!!!
小弟在程序调试时,在代码中明明加了 <asp:DropDownList ID= "typeofproblem " runat= "server " Width= "88px ">
</asp:DropDownList>
可是界面提示:DropDownList控件类的typeofproblem 必须放在存在runat=server
的语句内。这是什么原因????
------解决方案-------------------- <form runat= "server ">
<asp:DropDownList ID= "typeofproblem " runat= "server " Width= "88px ">
</asp:DropDownList>
</form>