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. ÔÚXPÏ£¬IIS·¢²¼asp.net³ÌÐòʱ£¬ÓÐʱ»áÓöµ½±¨´í“µ±Ç°Óû§ÎÞ·¨·ÃÎÊIISÔªÊý¾Ý¿â”»ò“ASP.NETÓû§ÎÞ·¨·ÃÎÊÖ¸¶¨Ä¿Â¼”£¬ÎÊÌâµÄ½â¾ö·½·¨ÈçÏ£º
1.ÔÚÄãËùÐèÒª·ÃÎʵÄ×ÊԴĿ¼ÉÏÓÒ¼üÑ¡Ôñ “¹²ÏíºÍ°²È«”£¬È»ºóµã»÷“°²È«”ҳǩ¡ ......
public static Boolean WriteTextFile(string content, string filepath,string name)
{
FileStream fs;
StreamWriter sw;
if (!System.IO.Directory.Exists(filepath))
{
DirectoryInfo DirInfo = Directory.CreateDirectory(filepath); //´´½¨Ä¿Â¼
DirI ......
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 ......
Ò»¡¢ÐÔÄܲÎÊý£º
¡¡¡¡1¡¢ ÍÌÍÂÁ¿
¡¡¡¡2¡¢ ÏìӦʱ¼ä
¡¡¡¡3¡¢ Ö´ÐÐʱ¼ä
¡¡¡¡4¡¢ ¿ÉÉìËõÐÔ
¡¡¡¡¶þ¡¢ÐÔÄÜÒòËØ£º
¡¡¡¡1¡¢ASPXÖ´Ðл·¾³
¡¡¡¡2¡¢±àд´úÂëÂß¼
¡¡¡¡Èý¡¢Ìá¸ßÐÔÄܵķ½·¨£º
¡¡¡¡1¡¢ ±ÜÃâ²»±ØÒªµÄ²Ù×÷.ÀýÈç:ÔÚPage_LoadÖÐʹÓÃIsPostBack;
¡¡¡¡2¡¢ ¾¡Á¿¼õÉÙʹÓ÷þÎñÆ÷¶Ë¿Ø¼þ
¡¡¡¡3¡¢ ¹Ø±Õ²»±ØÒª ......
×î½üÔÚ¶ÔÓ¦Ò»¸öASP.NET WebÓ¦ÓóÌÐòBugµÄʱºò£¬ÎªÁ˵÷²éÔËÐл·¾³ÖоßÌåµÄBugÓÚÊDzéÔÄÁËһϴíÎóÈÕÖ¾¡£
Õâ¸ö³ÌÐòµÄ´íÎóÈÕÖ¾ÊÇÖ±½Ó±£´æÔÚÒ»¸öÎı¾ÎļþÖе쬽á¹û·¢ÏÖ¾ÍËãÊdzö´íÒ²²»»áÁôÏÂÈκκۼ£¡£
Ò»µ÷ÊÔ£¬¾¹È»ÊǰѴíÎóÈÕÖ¾µÄ±£´æÂ·¾¶¸øÐ´´íÁË¡£My God£¡
°Ñ·¾¶¸ÄÁË£¬×ªÄîÒ»ÏëÏ´γö´íÔÙ²»±£´æÔõô°ì£¿ËÖªµÀÕæÕýµÄ»·¾³À ......