ASP.NET ·þÎñÆ÷¿Ø¼þäÖȾµ½¿Í»§¶ËÖ®ºó¶ÔÓ¦µÄHTML±êÇ©
·þÎñÆ÷¿Ø¼þ html±ê¼Ç
label----------<span/>
button---------<input type="submit"/>
textbox--------<input type="text"/>
linkbutton-----<a href="javascript:" />
imagebutton----<input type="image"/>
hyperlink------<a />
dropdownlist---<select />
listbox--------<select size=""/>
checkbox-------<input type="checkbox"/>
checkboxlist---
<table id="CheckBoxList1" border="0">
<tr>
<td><input id="CheckBoxList1_0" type="checkbox" name="CheckBoxList1$0" /><label for="CheckBoxList1_0">1</label></td>
</tr><tr>
<td><input id="CheckBoxList1_1" type="checkbox" name="CheckBoxList1$1" /><label for="CheckBoxList1_1">2</label></td>
</tr>
</table>
radiobutton------<input type="radio" />
radiobuttonlist--
<table id="RadioButtonList1" border="0">
<tr>
<td><input id="RadioButtonList1_0" type="radio" name="RadioButtonList1" value="1" /><label for="RadioButtonList1_0">1</label></td>
</tr><tr>
<td><input id="RadioButtonList1_1" type="radio" name="RadioButtonList1" value="2" /><label for="RadioButtonList1_1">2</label></td>
</tr>
</table>
image-----------<img />
imagemap--------<img ><map /></img>
table-----------<table />
BulletedList-----
<ul id="BulletedList1">
<li>1</li><li>2</li>
</ul>
hiddenfield----<input type="hidden" />
Literal--------Ö»äÖȾһ¶Î´¿Îı¾µ½¿Í»§¶Ë
calendar-------
<table><tr><td><a href="javascript:" /></td><tr></table>
adrotator---- <a id="AdRotator1" ><img /></a>
fileupload-----<input type="file"/>
wizard--
Ïà¹ØÎĵµ£º
Ö÷ÒªµÄÔÀí¾ÍÊÇÌ滻ģ°åÀïµÄÌØÊâ×Ö·û¡£
1¡¢¾²Ì¬Ä£°åÒ³Ãæ template.html£¬Ö÷ÒªÊǶ¨ÒåÁËһЩÌØÊâ×Ö·û£¬ÓÃÀ´±»Ìæ»»¡£
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <html> <he ......
WebRequest mywebrq;
WebResponse mywebresp;
StreamReader sr;
Streamwriter sw;
Private void Page_Load(object sender,EventArgs e) { mywebreq=WebRequest.Create( http://localhost/Test.aspx ); mywebresp=mywebreq.GetResponse();
sr=new streamReader(mywebresp.GetResponsestream());
strHtml=sr.ReadT ......
ASP.NET MVC ¶àÓïÑÔ½â¾ö·½°¸()
¾ÍÒ»¸öÍøÕ¾µÄ¶àÓïÑÔÌØÐÔÀ´Ëµ£¬ÎÒÈÏΪ·ÖΪÁ½¸ö·½Ã棺
1¡¢HTML½çÃæÉÏÏÔʾµÄÎÄ×ÖÐèÒª¶àÓïÑÔ
2¡¢HTML½çÃæÉÏJSÊä³öµÄÎÄ×ÖÐèÒª¶àÓïÑÔ
ÔÀ´ÔÚHTML²¿·ÖÖ±½ÓдµÄÎÄ×Ö¶¼²»ÄÜÖ±½ÓдҪÊä³öµÄÎÄ×Ö£¬¶øÊÇÒª²ÉÓñê¼ÇµÄ·½·¨À´Ìæ»»¡£JSÒ² ......
ÕâÁ½ÌìÒòΪҪ×öÒ»¸ö¿ÉÒÔÊÕ¼¯Óû§Ìá½»ÐÅÏ¢£¬È»ºó·¢ËÍÓʼþµ½Ö¸¶¨ÓÊÏäµÄÍøÒ³¡£ÔÚ asp.net 2.0 ÀïÃæ·¢ËÍÓʼþ¿ÉÒÔʹÓà System.Net.Mail ÏÂÃæµÄÀà¡£http://www.systemnetmail.com/faq/2.1.aspx Õâ¸öµØÖ·ÓÐ System.Net.Mail µÄ×÷ÕßдµÄ·Â·ðÊÇ MSDN ÀàËÆµÄ Faq£¬¿´´úÂëµÄʱºò¿ÉÒԲο¼ÒÔÏ¡£Ê²Ã´¶¼²»ËµÁË£¬ÏÂÃæÌù³öÀ´´úÂë°É£¬±Ï¾¹´ú ......
ASP.net´íÎó´¦Àí(´íÎóÌøתҳ webconfig)
ʹÓö¨ÖÆ´íÎóÒ³Ãæ
ËäÈ»ÎÒÃÇ·¢Ë͸øÓû§µÄ¹«ÓôíÎóÐÅÏ¢ÊÇ°²È«µÄ£¬¾ÍÊÇ˵Ëü²»»áÍþвµ½Ó¦ÓóÌÐòµÄÃØÃÜ£¬µ«ÊÇÕâÑùµÄÐÅÏ¢²¢²»ºÃ¿´¡£Ò²ÐíÄãÏ£ÍûÓû§ÓÀÔ¶Ò²¿´²»µ½ÕâÑùµÄÐÅÏ¢¡£Ïà·´£¬µ±´¦ÀíÇëÇóµÄ¹ý³ÌÖУ¬Èç¹û·¢ÉúÁËÒ»¸öΪ´¦ÀíµÄ´íÎó£¬ÄãÏ£ÍûÄܹ»ÏÔÊ¾× ......