代码如下:
<%@ Page Language="C#"%><html>
<head>
<link rel="stylesheet"href="intro.css">
</head> <body> <center> <form action="intro4.aspx" method="post" runat=server> <h3> 姓名:<asp:textbox id="Name" runat="server"/> 类别:<asp:dropdownlist id="Category" runat=server>
<asp:listitem>psychology</asp:listitem>
<asp:listitem>business</asp:listitem>
<asp:listitem>popular_comp</asp:listitem>
</asp:dropdownlist> </h3> <asp:button text="查找" runat="server"></asp> </form> </center> </body>
</html>
运行后看不见botton,而且下拉框的内容是横排全部显示出来的,不能下拉。
<%@ Page Language="C#"%><html>
<head>
<link rel="stylesheet"href="intro.css">
</head> <body> <center> <form action="intro4.aspx" method="post" runat=server> <h3> 姓名:<asp:textbox id="Name" runat="server"/> 类别:<asp:dropdownlist id="Category" runat=server>
<asp:listitem>psychology</asp:listitem>
<asp:listitem>business</asp:listitem>
<asp:listitem>popular_comp</asp:listitem>
</asp:dropdownlist> </h3> <asp:button text="查找" runat="server"></asp> </form> </center> </body>
</html>
运行后看不见botton,而且下拉框的内容是横排全部显示出来的,不能下拉。
有没有可能是其它设置的问题?
我的文件后缀名为.aspx
接分啦!