===超级奇怪的问题==========

vxhelp 2003-09-12 03:33:52
以下是我的aspx文件,怎么不能显示出button呢,我用的是winxp, ie6.0

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="web3.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<asp:textbox id="TextBox1" style="Z-INDEX: 102; LEFT: 141px; POSITION: absolute; TOP: 11px" runat="server"></asp:textbox>
<br>
<asp:HyperLink id="HyperLink1" runat="server">HyperLink</asp:HyperLink>
<br>
<asp:Button id="Button1" runat="server" Text="Button" Width="89px" Height="25px"></asp:Button>
<br>
<asp:Label id="Label1" runat="server" Width="69px" Height="10px">Label</asp:Label></FONT></form>
</body>
</HTML>
...全文
31 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
孟子E章 2003-09-12
  • 打赏
  • 举报
回复
是不是你WebForm1.aspx.cs的问题啊?
这样没有问题
<%@ Page language="c#" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<asp:textbox id="TextBox1" style="Z-INDEX: 102; LEFT: 141px; POSITION: absolute; TOP: 11px" runat="server"></asp:textbox>
<br>
<asp:HyperLink id="HyperLink1" runat="server">HyperLink</asp:HyperLink>
<br>
<asp:Button id="Button1" runat="server" Text="Button" Width="89px" Height="25px"></asp:Button>
<br>
<asp:Label id="Label1" runat="server" Width="69px" Height="10px">Label</asp:Label></FONT></form>
</body>
</HTML>
wkyjob 2003-09-12
  • 打赏
  • 举报
回复
不知道,帮你顶一下。

110,500

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧