????? ASP.???? ???? ??? ????? ???? ???? ??????

?????? ????????? ?????? ?????????
???? ???????: 306459 - ??? ???????? ???? ????? ????? ??? ???????.
???? ??? ??????? ??? Microsoft ???????.NET ???? ?????? "????? ?????":
  • System.Web.UI.HtmlControls.HtmlControl
  • System.Web.UI.WebControls.WebControl
????? ???? | ?? ????

?? ??? ??????

??????

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

????? ?? ASP.NET ????? ????? ???? ?? ??? ????? ????? ????? Microsoft:
305140 ???????: ASP.NET ????? ??????

??????? ????

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

????? ???? ???? HTML

????? ???? ???? HTML ?? ??? ????? ???? ??????? (HTML) ??????? ???? ????? runat = server ?????. ????? ????? ???? ???? HTML HTML ??? ??????? ? ??? ??????? ??? ?????? HTML ???????? ?????? ???. ???????? ??? ???? ???? HTML ???? ????? ???? ??????? ???? ???????? ?????? ?? ???? ??????. ???? HTML ???? ????? ?????? ???????? ???????:
  • ????? ???? HTML ???? ???? ??? ???? ?? ?????? ??? ?????? HTML ???????.
  • ??? ASP.??? ????? ??????? NET? ???? HTML ????? ???????? runat = server ???? ??? ?? ???????.
  • ????? ???? ????? ?????? ?????????????? ????? ?????? ????????? ????? ??????. ??? ???? ??????? ?????<input type="button">????? ???? ?????? ??? ????????????? .
  • ?????? HTML ???? ?? ???? ?????? HTML ????? ???? ??????? ????? ???? ?????? ?? ???? ??? ???? ??????? ??? ????? ?? ???? ????? ??????? ??????????????????.
  • ??? ASP.???? ???? NET? ????? ???? ???? HTML ???????? ?????? ?????? ???.
????? ????? ???????? System.Web.UI.HtmlControls.HtmlControl ??? ???? ??????? ??????. ???? HTML ?????? ????? ?? ??? ?????.

???????? ???? ???? ???? HTML? ?????? ???? ?????? ?????? (???? ?????? ???? ?????? ????????????? ???? ????):
<input type="text" value="hello world" runat=server />
				
?????? ??? ???? ?? ????????? ??? ????? ???? ???? HTML ????? ????? ?? ASP.NET? ???? ??? ????? Microsoft ???????? ??? ?????:
?????? ??????????

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

???? ???? HtmlForm

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

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

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

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

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

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

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

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

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

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

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

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

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

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

????? ???? ??? ??????? ?????? ???? ???? HTML ??? ???? ????? ???? ?????? ???????? ???????? ???? ??? ?????? ?? ???? ??? ??? ?????? ????? ??????? ?????. ???? ????? ???? ???? ??? ??????? ???????:
  • ???? ???????? ???????? ??????? ????? ?? ??????? ????? ???????? ???????? ?????.
  • ?????? ????? ????? ????? ??? ???????? ???? ????? ??? ????? ??? ???? ????? ???? HTML ???? ???? ????????? ??? ???? ???????.
????? ????? ???????? System.Web.UI.WebControls.WebControl ??? ???? ??????? ??????. ???? ??? ?????? ????? ???? ?????? ?? ??? ?????.

??????? ???? ???? ???? ??? ?????? ???? ?????? ?????? (???? ?????? ???? ???? ???? ???? ?????):
<asp:textbox text="hello world" runat=server />
				
???? ????? ????? ???? ???? ??? ??? ???? ????:

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

????? ???? ??? ???????? ????? ??? ????? HTML ?????? ??? ??? ???? ???? ??????. ??? ????? ?? ???? ????? ???? ???? ??? ?????? ?????? ???????? ???????? ???????? ???? ????? ?????.

????? ?? ????????? ??? ????? ???? ??? ??????? ???? ????? ?? ????? ASP.NET? ???? ??? ????? Microsoft ???????? ??? ?????:
?? ???? ???? ???? ???

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

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

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

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

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

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

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

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

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

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

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

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

???? ???? ???? ??? ? TableRow

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

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

?????? ????? ?????? ?? ????? ?????? ?? ??? ????? ???????? ??????? ?? ????? ???? ???? ??????. ????? ?????? ?? ??? ????? ?????? ?????? ?? ??? ?????? ??????? ?? ???? ?????? ?? ?????? ???????? ????? ???????? ??? ??????. ????? ???? ?????? ?? ????? ???? ??????? ???????:
  • ????? ????? ???? ???? ???? ?? ???? ?? ?????? ?? ??? ?? ???? ?????? ???? ???? ?????? ?? ?????.
  • ??? ????? ?????? ?? ????? ????? ???? ??????? ???? ?????.
  • ????? ????? ??????? ??? ?????? ?? ????? ???? ??? ???? ??? ??? ???? ????? ?? "????? ?????" ??? ???????? ????? ????? ??? ?????? ?????? ?????? ????? ?? ???? ??????.
  • ????? ???? ?????? ?? ????? ???????? ????? ?? ?? ??? ??? ??? ????? ?????? ?? ????? ??? ???? ?????? ?? ?????? ??????.

    ?????? ?????? ?? ??? ?????? ???????? ??????? ??? ?????? ????? ????? ?????. ?????? ??? ??? ???? ?????? ?? ????? ???? ?????? ?? ????? ??????? ??????? ??? ???? ?????? ?????? ?? ???? ?????? ??? ???? ?????? ??? ??? ?????? ?? ??? ??????.
????? ?? ????????? ??? ?????? ?? ??? ?? ????? ?????? ???? ????? ?? ASP.NET? ???? ??? ????? Microsoft ???????? ??? ?????:
?????? ?????????????????????

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

?????? CompareValidator

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

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

?????? ValidationSummary

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

????? ???? ??????? ????? ???? ???? ??? ?????? ???? ???? ????? ?????????. ????? ??????? ????? ???? ??????? ???? ???? ?? ???????? ?? ????? ????? ?????? ?? ????. ??? ???? ????? ???? ??????? ????? ???? ???????? ? DataMember ???? ?????? ???? ?????????.

????? ????? ??? ????? ?????? ??? ??? ????????? ???? ????? ?????? IEnumerable?? ICollection?? ??????????? . ??? ???? ??????? Microsoft Visual C#.???? ????? NET ???? ??? ???:
<%@ Page Language="C#" %>
<script runat="server">
Public void Page_Load()
{
	String[] myStringArray = new String[] {"one","two","three"};
	rptr.DataSource = myStringArray;
	rptr.DataBind();
}
</script>
<html>
<body>
<asp:repeater id=rptr runat="server">
	<itemtemplate><%# Container.DataItem %><br></itemtemplate>
</asp:repeater>
</body>
</html>
				
Microsoft Visual Basic.???? ???? ????? NET ??? ???:
<%@ Page Language="vb" %>
<script runat="server">
public sub Page_Load()
   	Dim myStringArray as String()
   	myStringArray = new String() {"one","two","three"}
   	rptr.DataSource = myStringArray
   	rptr.DataBind()
end sub
</script>
<html>
<body>
	<asp:repeater id=rptr runat="server">
   		<itemtemplate><%# Container.DataItem %><br></itemtemplate>
	</asp:repeater>
</body>
</html>
				
???? ??????? ??? ???:
???
?????
?????
?????? ??? ???? ?? ????????? ??? ????? ???? ??????? ??????? ????? ?? ASP.NET? ???? ??? ????? Microsoft ???????? ??? ?????:
???? ???? ???? ??? ListBox

???? ???? ???? ??? CheckBoxList

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

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

???? ???? ???? ??? dataList

???? ???? ???? ??? DataGrid

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

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

???????? ??? ??????? ???????? ASP.???? NET framework ???? ????? ???? ?????? ?????? ??????? ???? ???? ????? ???? ??????. ??? ?????? ?????? ???? ?? ??? ????? HTML ?????? ??? ????? ????. ????? ??? ???? ????? ?????? ???? ?????? ??????? ? ????????? .

????? ?? ????????? ??? ???? ??????? ????? ?????? ???????? ?? ASP.NET? ???? ??? Microsoft ??????? ??? ????? ?????:
???? ???? ???? ??? ?????????

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

???? ???? ???? ??? Xml

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

?? ???? ???????? ?? ????? ??? ????? ??????? ????? ???????? ?????? "????? ???" ??? ?????? ??? ????? ??? ??????? ?????? ??????. ????? ASP.NET ???? ?? ?????? ???? ?? ???? ????? "????? ???" ????? ?? ??? ????? ???? ????????. ????? ???? ????????? ???? ????? ???? ??? ascx? ???? ??????? ??? ???? ???? ???? ??? ???? ???????.

?????? "????? ???" ??? ???? ???? ??????? ???? ??????? ???????:
  1. ????? ????<html>,<head>,<body>?<form>?????? ???????.</form></body></head></html>
  2. ?? ???? ???? ???? ???? @ ?? ??????? ?????? ??? @ ??????.
  3. ????? ??? ??? ????? ?? ??????? @ ?????? ??? ??? ????? ???? ???? ???????? ???? ????? ??? ????? ????.
  4. ????? ???? ?????? ??? ??? ????? ?????? ???? ????? ??.aspx ???.ascx.
?????? ??? ???? ?? ????????? ??? ????? ???? ????????? ???? ??? ??????? ?????? ?? Microsoft.NET Framework ??? ????? ??????? (SDK) ???????:
????? ???? ???????? ????? ???

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

???????? ??? ??????? ??? ???????? ASP.NET ???? ?? ???? ?????? ????? ?????? ??????? ?????? ??. ?? ???? ?? ?????? ??? ????? ?????? ??????? ??? ??? ????? ??? ??? ????????????:
  • ??? ????? ????? ?? ???? ????? ???? ??? ???????.
  • ????? ??? ????? ????? ???? ???? ??????.
  • ????? ??? ???? ???? ?????? ????? ?? ?? ?? ????? ?????? ???????? ?????.
?????? ??? ???? ?? ????????? ??? ??? ????? ?????? ???????? ???? ??? ???????? ??????? ??.NET Framework SDK ???????:
????? ASP.NET Server ????? ??????

????? ????? ?????? ???????: ?????? ???????

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

???????

???? ???????: 306459 - ????? ??? ??????: 21/???/1433 - ??????: 1.0
????? ???
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
????? ??????: 
kbarttyperoadmap kbdatabinding kbinfo kbservercontrols kbvalidation kbwebforms kbmt KB306459 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????306459

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

 

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