我是怕我的ASPX代碼有問題
我的代碼是這樣的:
<%@ Page language="c#" Codebehind="Addhistory.aspx.cs" AutoEventWireup="false" Inherits="Fileupload.Addhistory" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Addhistory</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="
http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="新細明體">
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 336px; POSITION: absolute; TOP: 88px" runat="server">Label</asp:Label>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 488px; POSITION: absolute; TOP: 208px" runat="server"
Text="Button"></asp:Button>
<asp:TextBox id="TextBox1" style="Z-INDEX: 103; LEFT: 240px; POSITION: absolute; TOP: 136px"
runat="server"></asp:TextBox>
<asp:TextBox id="TextBox2" style="Z-INDEX: 104; LEFT: 480px; POSITION: absolute; TOP: 136px"
runat="server"></asp:TextBox></FONT>
</form>
</body>
</HTML>
你可以改一下將一個完整的代碼發到論壇上來嗎?
包括aspx.cs和aspx的代碼