INFO: ???? ???? ????? ASP.NET ??? ???????

?????? ????????? ?????? ?????????
???? ???????: 303247 - ??? ???????? ???? ????? ????? ??? ???????.
???? ??? ??????? ??? ??? ???? ??? .NET Microsoft ??????? ????? ??? ?????:
  • System.Web.UI
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ?????? ???? ???? ?????? ?? ???? ????????? ???????? ??????? ??????? ?? ASP.NET.

??????? ????

???? ASP.NET ??????? ??? ????? ??????:
  • ?? ??? ????????? ????????
  • ??? ???????

??? ?? ????

?? ????? ?????? ?? ????? ????? ??????? ??? ASP.NET ??????. ???? ???????? ???????? ??????? ???? ASP.NET ????? ????? ??? ??????? ?????? "?? ?????:

Myinlinecode.aspx
<%@ Language=C# %>
<HTML>
   <script runat="server" language="C#">
   void MyButton_OnClick(Object sender, EventArgs e)
   {
      MyLabel.Text = MyTextbox.Text.ToString();
   }
   </script>
   <body>
      <form id="MyForm" runat="server">
         <asp:textbox id="MyTextbox" text="Hello World" runat="server"></asp:textbox>
         <asp:button id="MyButton" text="Echo Input" OnClick="MyButton_OnClick" runat="server"></asp:button>
         <asp:label id="MyLabel" runat="server"></asp:label>
      </form>
   </body>
</HTML>
				

??? ???????

???? ??? ??????? ??? ????????? ???????? ?????? ASP.NET ????? ??? ??? ??? ??????. ????? ??? ???? HTML ????? ?? ?? ???? ????? ????????. ???? ????? ?????? ???? ??????? ??? ????? ?? ASP.NET:

MyCodebehind.aspx
<%@ Language="C#" Inherits="MyStuff.MyClass" %>
<HTML>
    <body>
        <form id="MyForm" runat="server">
        <asp:textbox id="MyTextBox" text="Hello World" runat="server"></asp:textbox>
        <asp:button id="MyButton" text="Echo Input" Onclick="MyButton_Click" runat="server"></asp:button>
        <asp:label id="MyLabel" runat="server" />
        </form>
    </body>
</HTML>
				
Mycodebehind.cs
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MyStuff
{
    public class MyClass : Page
    {
        protected System.Web.UI.WebControls.Label MyLabel;
        protected System.Web.UI.WebControls.Button MyButton;
        protected System.Web.UI.WebControls.TextBox MyTextBox;

        public void MyButton_Click(Object sender, EventArgs e)
        {
            MyLabel.Text = MyTextBox.Text.ToString();
        }
    }
}
				
?? ????? ?????? ??????? ???? ?????? ?????? ????? Mycodebehind.cs:
csc.exe /out:mycodebehind.dll /t:library mycodebehind.cs
??? ??????? ????????? ???????? ??????? ??? ???? ??????? ????????? ???????? ?? ??? ??????. ???? ???? ????? ???? ?? ????? ????? System.Web.UI:
public class MyClass : Page
				
????? ?? ???? ????? ???? ?????? ???? ??????? ????????? ???????? ??? ASP.NET ???? ????????, ??? ??? ?????. ???????? ??? ???? ??? ?? ??? ?????? ???? ???? ??? ??????? ????? ?????? ?????? ???? ???? ASP.NET.

??? ????? ???? ??????? ????????? ???????? ??? ????? ASP.NET ?? ??????? ??????. ????? ?? ???? ????? ?????? ??? ??? ??????? ????????? ???????? ???????? ?????? SRC ??? ???:
<%@ Language="C#" Inherits="MyStuff.MyClass" src="MyCodebehind.cs" %>
				
?? ??? ??????? ??????? ASP.NET ?????? ??????? ???????? ???????? ???????? ????. ???? ?? ??? ?????? ??????? ??????? ???? ??? ??? ????? ????? ??????? ????????? ???????? (???? ??? ????? ?? ???? ????? ?????? ????).

??? ??????? ??????? ?????? ?? Visual Studio .NET

??? ??????? Microsoft Visual Studio .NET ?????? ????? ??? ASP.NET ????? ??????? ???????? ???????? ?? ??????? ??????????. ???????? ??? ???? Visual Studio .NET ???????? ???? precompilation ?? ??? ????? ???? ????? ??. ???? ?? ????? ??????? ????????? ???????? ???? ?? ??????? ?? Visual Studio .NET ????? ??? ???? ???? Codebehind ? ????? ?????? Visual Studio .NET.

?????

?????? ??? ??????? ?????? % 1, ???? ??? ??? ??????? % 2 ????? ???? ??????? % 2 "??" ????? ??????? ?? Microsoft:
313105BUG: ?? ???? ????? ??????? ??????? ??? ??? ????? Src ??????? ??? ?????? UNC

???????

???? ???????: 303247 - ????? ??? ??????: 05/???/1428 - ??????: 3.4
????? ???
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
????? ??????: 
kbmt kbinfo kbwebforms KB303247 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????303247

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com