asp.netÉú³É¾²Ì¬Ò³Ãæ
ASP.NETÉú³É¾²Ì¬Ò³
ºËÐļ¼Êõ£º
HTMLPageÎļþ¼Ð£¬ModelHTML.htmÎļþÖеÄArticleTitle,ArticleContent¶¼ÊÇÒªÌæ»»µÄÇøÓò
WriteFile(dr["ArticleTitle"].ToString(), dr["ArticleContent"].ToString(), dr["ID"].ToString());
1.ǰ̨
<head runat="server">
<title>ASP.NETÉú³É¾²Ì¬ÍøÒ³</title>
</head>
<body style="text-align: center" mce_style="text-align: center">
<form id="form1" runat="server">
<div style="text-align: center" mce_style="text-align: center">
<table style="width: 601px" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" style="height: 85px; text-align: center;"><strong>ASP.NETÉú³É¾²Ì¬ÍøÒ³</strong></td>
</tr>
<tr>
<td colspan="3" rowspan="2" style="vertical-align: top; height: 67px; text-align: center">
<asp:DataList ID="DataList1" runat="server" BackColor="White" BorderColor="#E7E7FF"
BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" OnItemCommand="DataList1_ItemCommand">
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
<ItemTemplate>
<table cellpadding="0" cellspacing="0" style="font-size: 9pt; width: 563px">
<tr>
<td style="width: 30px; height: 17px">ID£º</td>
<td style="width: 60px; height: 17px"><%#DataBinder.Eval(Container.DataItem,"ID") %></td>
<td style="width: 50px; height: 17px">Ö÷Ì⣺</td>
<td colspan="3" style="width: 354px; height: 17px; text-align
Ïà¹ØÎĵµ£º
ÔÚ½øÐÐASP.NETµ÷ÊÔµÄʱºò£¬ÎÒÃǾ³£ÐèÒª½èÖúһЩÍⲿ¹¤¾ßÀ´¸¨ÖúÎÒÃÇ¡£Ë×»°Ëµ£¬¹¤ÓûÉÆÆäÊ ±ØÏÈÀûÆäÆ÷¡£¿É±ðС¿´ÁËÕâЩ¹¤¾ß£¬ËüÊÇÄã½â¾ö¸´ÔÓÎÊÌâµÄ±Ø±¸ÀûÆ÷¡£±È½Ï³£ÓõÄÓÐÕâЩ£º
HTTP×¥°ü¹¤¾ß£º Microsoft Network Monitor£¬Fiddler2£¬HttpWatcher µÈ£¬Ö÷ÒªÓÃÀ´²é¿´HTTPÏûÏ¢µÄheader£¬ÒÔ¼°body¡£ http://www.mscto.com
´ ......
ASP.NET³£ÓõÄ6ÖÖÑéÖ¤¿Ø¼þ£¬ÈçÏ£º
RequiredFieldValidator £¨±ØÐë×Ö¶ÎÑéÖ¤£© ÓÃÓÚ¼ì²éÊÇ·ñÓÐÊäÈëÖµ
CompareValidator £¨±È½ÏÑéÖ¤£© °´É趨±È½ÏÁ½¸öÊäÈë
RangeValidator £¨·¶Î§ÑéÖ¤£© ÊäÈëÊÇ·ñÔÚÖ¸¶¨·¶Î§
RegularExpressionValidator £¨Õ ......
1.ʲôÊÇcookie?
cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæÓû§ÇëÇó£¬ÔÚweb·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Óû§Ã¿´Î·ÃÎÊÕ¾µãµÄʱºò£¬
webÓ¦ÓóÌÐò¶¼¿ÉÒÔ¶ÁÈ¡cookie°üº¬µÄÐÅÏ¢¡£
¼ÙÉèÔÚÓû§ÇëÇóÄúµÄÍøÕ¾µÄij¸öÒ³ÃæÊ±£¬ÄúµÄÓ¦ÓóÌÐò²»½öÊÇ·µ»ØÇëÇóµÄÒ³Ãæ¡£Í¬Ê±Ò²·µ»ØÒ»¸ö°üº¬ÈÕÆÚ
ºÍʱ¼äµÄcookie¡£Óû§µÄä¯ÀÀÆ÷ÔÚ»ñµÃÒ³ÃæµÄͬʱҲ»ñµÃÁË ......
The following is a simple checklist you can use when building web
applications. Much of this still applies to other technologies and can
easily be extended. I try not to get too specific on technology or
methodology, but it is definitely leaning toward ASP.NET.
If you
......