¹ØÓÚasp.netÒ³ÃæÌí¼Ó·Ç¿ÕУÑé¿Ø¼þ×¢ÒâÊÂÏî
´ÓÀ´¶¼ºÜÉÙд²©£¬ÏÖÔÚ¿ªÊ¼Ð´Ð´£¬·½±ã×Ô¼ºÓõÄʱºò²»ÓÃËÑË÷£¬»òÐí»¹¿ÉÒÔ°ïÖúµ½±ðÈË£¬ºÎÀÖ¶ø²»ÎªÄØ£¿ºÇºÇ¡£
×¢ÒâÊÂÏîÒ»£ºÈç¹ûÒ³Ãæµã»÷°´Å¥ÎÞ·¨´¥·¢ÑéÖ¤¿Ø¼þµÄ×÷ÓÃʱ£¬½â¾ö°ì·¨ÈçÏ£º
c:\WINNT\Microsoft.NET\Framework\v1.1.4322
1.¿ªÊ¼²Ëµ¥££>ÔËÐÐcmd
2.È»ºóÊäÈëDos ÃüÁî cd c:\WINNT\Microsoft.NET\Framework\v1.1.4322
×¢£ºÈç¹ûûÓÐÕâ¸öĿ¼£¬Çë²éÕÒaspnet_regiis.exeÎļþËùÔÚµÄĿ¼.
3.½øÈëĿ¼ºóÔËÐУºaspnet_regiis.exe /i
4.¾ÍOK £¡
5.ÄãÊÔÊÔ£¡
×¢ÒâÊÂÏî¶þ£ºµ±°´Å¥Ìí¼ÓÁËonclientclickʼþ²¢Óзµ»Øֵʱ£¬¿ÉÄÜ»á³öÏÖÑéÖ¤¿Ø¼þ¼È±¨´íÒ³ÃæÓÖ¿ÉÒÔÌá½»µÄÇé¿ö¡£½â¾ö°ì·¨ÈçÏ£º
ÔÚ°´Å¥µÄonclientclickʼþÌí¼Ó´úÂëÈ磺
OnClientClick="if(Page_ClientValidate()){return confirm('È·ÈÏÌá½»ÉóÅú?');} else{return false;}"
Ïà¹ØÎĵµ£º
asp.net ÃÜÂë»Ø´«ºó£¬²»¼û µÄ½â¾ö°ì·¨
<asp:UpdatePanel ID="UpdatePanel5" runat="server">
& ......
Ò³ÃæÊä³ö»º´æ×÷Ϊ×î¼òµ¥µÄ»º´æÐÎʽ£¬Êä³ö»º´æÖ»ÊÇÔÚÄÚ´æÖб£ÁôΪÏìÓ¦ÇëÇó¶ø·¢Ë굀 HTML µÄ¸±±¾¡£ÆäºóÔÙÓÐÇëÇóʱ½«Ìṩ»º´æµÄÊä³ö£¬Ö±µ½»º´æµ½ÆÚ£¬ÕâÑù£¬ÐÔÄÜÓпÉÄܵõ½ºÜ´óµÄÌá¸ß£¨È¡¾öÓÚÐèÒª¶àÉÙ¿ªÏúÀ´´´½¨ÔʼҳÃæÊä³ö - ·¢ËÍ»º´æµÄÊä³ö×ÜÊǺܿ죬²¢ÇұȽ ......
ÓÃAsp.NetÉÏ´«Îļþ,Ê×Óõ½µÄÊÇFileUpload¿Ø¼þ
<asp:FileUpload ID="FileUpload1" runat="server" /><br />
<asp:Button ID="btn" runat="server" Text="È·¶¨" OnClick="btn_Click"/>
C#´úÂë
protected void btn_Click(object sender, EventArgs e)
{
//ÅÐ¶Ï ......
1 ʹÓñê×¼HTMLÀ´½øÐÐͼƬÉÏ´«
ǰ̨´úÂ룺
<body>
<form id="form1" runat="server">
<div>
<table>
&nbs ......
dzÎöASP.NETµÄPage.IsPostBack ÊôÐÔ
http://www.sina.com.cn 2008Äê05ÔÂ06ÈÕ 11:33 IT168.com
¡¾IT168¼¼ÊõÎĵµ¡¿
ÏÖÔÚ´Ó¶ÔASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò¿ªÊ¼£¬Ìå»áÒ»ÏÂB/S½á¹¹µÄ³ÌÐòµÄÌص㣬ÏÂͼÊÇASP.NETÒ³ÃæµÄÖ´ÐÐ˳Ðò˵Ã÷£º
Page_Init£¨Ò³Ãæ³õʼ»¯Òý·¢µÄʼþ£©——>Page_Load£¨¼ÓÔ ......