Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net ´Ó×ÊÔ´ÎļþÖлñÈ¡×ÊÔ´ÄÚÈÝ¡¢»ñÈ¡×ÊÔ´Áбí

ΪÁËÄÜÈÃÀ´×Ô²»Í¬ÎÄ»¯Ï°¹ß»òʹÓò»Í¬ÓïÑÔ×÷ΪĸÓïµÄ·Ã¿ÍÄܹ»ÔĶÁÎÒÃǵÄÍøÕ¾£¬Ôò±ØÐëΪÕâЩ¶ÁÕßÌṩÓÃËûÃÇ×Ô¼ºµÄÓïÑԲ鿴ÍøÒ³µÄ·½·¨¡£Ò»ÖÖ·½·¨ÊÇ·Ö±ðÓø÷ÓïÑÔÖØд´½¨Ò³Ã棬µ«ÕâÖÖ·½·¨¿ÉÄÜÐèÒª´óÁ¿¹¤×÷Á¿¡¢ÈÝÒ׳ö´í²¢ÇÒÔÚ¸ü¸ÄԭʼҳʱºÜÄÑά»¤¡£ÀûÓà ASP.NET£¬¿ÉÒÔʹ´´½¨µÄÒ³Ãæ»ùÓÚä¯ÀÀÆ÷µÄÊ×Ñ¡ÓïÑÔÉèÖûòÓû§ÏÔʽѡÔñµÄÓïÑÔ»ñÈ¡ÄÚÈݺÍÆäËûÊý¾Ý¡£ÄÚÈݺÍÆäËûÊý¾ÝÖ¸µÄ¾ÍÊÇ×ÊÔ´£¬´ËÀàÊý¾Ý¿ÉÒÔ´æ´¢ÔÚ×ÊÔ´Îļþ»òÆäËûÔ´ÖС£
ÔÚ ASP.NET ÍøÒ³ÖУ¬¿ÉÒÔ½«¿Ø¼þÅäÖÃΪ´Ó×ÊÔ´»ñÈ¡ÆäÊôÐÔÖµ¡£ÔÚÔËÐÐʱ£¬×ÊÔ´±í´ïʽ½«±»ÏàÓ¦×ÊÔ´ÎļþÖеÄ×ÊÔ´Ìæ»»¡£
¹ØÓÚ asp.net ÍøÕ¾µÄ×ÊÔ´Îļþ£¬ÏêϸµØ½éÉܼû MSDN Îĵµ£ºhttp://msdn.microsoft.com/zh-cn/teamsystem/ms227427.aspx
ÐèҪעÒâµÄÊÇ£¬×ÊÔ´ÎļþÊÇ XML Îļþ£¬ÆäÖаüº¬Òª×ª»»Îª²»Í¬ÓïÑÔ»òͼÏñ·¾¶µÄ×Ö·û´®¡£×ÊÔ´Îļþ°üº¬¼ü/Öµ¶Ô£¬Ã¿Ò»¶Ô¶¼ÊÇÒ»¸öµ¥¶ÀµÄ×ÊÔ´¡£¼üÃû²»Çø·Ö´óСд¡£
¿ÉÒÔÔÚ asp.net ÍøÕ¾ »òÕß web ÏîÄ¿ÖÐÌí¼Ó asp.net ÌØÊâÎļþ¼ÐApp_GlobalResourcesÓÃÀ´·ÅÖÃËùÓÐ×ÊÔ´Îļþ¡£×ÊÔ´Îļþ¿ÉÒÔÓкܶàÓïÑԵİ汾£¬Ò»°ã˵À´£¬ÐèÒªÏÈÖÆ×÷Ò»¸öͨÓÃ(Common)°æ±¾£¬È»ºóÆäËûÓïÑÔÒÔÕâ¸öͨÓð汾ÖдæÔڵļüÃû¡¢ÖµºÍ×¢ÊÍ×÷ΪÑù°åÀ´ÖÆ×÷¡£Ò»×é×ÊÔ´Ó¦¸Ã¾ßÓÐͬÑùµÄ×ÊÔ´ÀàÃû£¬²¢ÇÒͨÓð汾ֱ½ÓÒÔ×ÊÔ´ÀàÃûΪÃû³Æ£¬Íâ¼ÓÒ»¸ö .resx µÄºó׺×÷ΪÕû¸öÎļþµÄÃû³Æ¡£±ÈÈ磬MyResources.resx£»ÆäËûÓïÑÔµÄÔòÒÔ ×ÊÔ´ÀàÃû.ÎÄ»¯Ãû.resxΪÃû³Æ£¬ÈçÖÐÎļòÌåµÄ×ÊÔ´Îļþ¿ÉÒÔÃüÃûΪ MyResources.zh-cn.resx¡£
ÏÂÃæÎÒÒª½²µÄÊÇÁ½¸öÎÊÌ⣺
Ò»¡¢ÈçºÎÕýÈ·µØ´Ó×ÊÔ´ÎļþÖлñÈ¡ÐèÒªµÄ×ÊÔ´µÄÖµ£»
¶þ¡¢¿ìËٵػñÈ¡×ÊÔ´ÎļþÖÐ×ÊÔ´µÄÇåµ¥¡£
¶ÔÓÚµÚÒ»¸öÎÊÌ⣺
ʹÓà <% $ %>±ê¼ÇÒýÓÃ
ÔÚ asp.net ÍøÕ¾¿ª·¢¹ý³ÌÖУ¬ÏàÐÅ´ó¼Ò¶¼±È½ÏÊìϤ <% =  %>  ºÍ   <%# %>  Á½¸ö·þÎñÆ÷±ê¼Ç£¬ËüÃÇ·Ö±ðÓÃÓÚÔÚǰ̨ҳÃæÖÐÏÔʾºǫ́±äÁ¿µÄÖµºÍ°ó¶¨Êý¾Ý¡£ÔÚ asp.net£¬»¹ÓÐÁíÒ»¸ö±ê¼Ç£¬Æ½Ê±¿ÉÄÜÓõò»ÊǺܶ࣬ÄǾÍÊÇ "<%$  %>"  ±ê¼Ç¡£ËüרÃÅÓÃÓÚ°ó¶¨×ÊÔ´ÎļþÖÐÖ¸¶¨×ÊÔ´µÄÖµ¡£
È磬ÄãÐèÒªÔÚǰ̨ΪÓÃÒ»¸ö Submit À´´¥·¢¸üÐÂÓû§¸öÈËÐÅÏ¢µÄ¶¯×÷£¬ÄÇôÎÒÃÇÐèÒªËü µÄ value ¸³ÓèµÄÒâÒåΪ“¸üиöÈË×ÊÁÏ”£¬Ó¢ÎÄΪ"Update the Profile"¡£
Õâʱ£¬Äã¿ÉÒÔÔÚ×ÊÔ´ÎļþÖн¨Á¢Ãû³ÆΪ "Update_Profile" µÄ×ÊÔ´£¬²¢ÔÚÖÐÎÄ°æ±¾µÄÎļþ£¨Èç MyResources.zh-cn.resx£©ÖÐÉèÖÃÆäÒâÒåΪ“¸üиöÈË×ÊÁÏ”£¬¶øÔÚÓ¢ÎÄ°æ


Ïà¹ØÎĵµ£º

VS ASP.NETÉèÖöϵã ÎÞ·¨µ÷ÊÔ

VS ASP.NETÉèÖöϵã ÎÞ·¨µ÷ÊÔ
ÎҵĿª·¢¹¤¾ßVS2005 IEä¯ÀÀÆ÷ÊÇ8.0£¬ÉèÖöϵãÖ®ºó²»Äܵ÷ÊÔ¡£
Ò»°ã»áÓÐÁ½ÖÖ¿ÉÄÜ£º
Ò»¡¢web.config debugÊôÐÔÉèÖÃΪTRUE
<compilation debug="true" />
¶þ¡¢IE8µÄÎÊÌâ
ÐÞ¸Ä×¢²á±í£ºHKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
ÐÂÔöÃû³ ......

asp.netģ̬´°¿ÚʹÓÃ

1 ÈçºÎÔÚÌá½»ºó·ÀÖ¹µ¯³öд°¿Ú
2 ÔÚģ̬´°¿ÚÖÐÔٴε¯³öģ̬´°¿Ú
3 ģ̬´°¿Ú·µ»ØÖµ
4 ˢи¸´°¿Ú
5 ¸¸´°¿ÚÈçºÎÌí¼Óˢнű¾
Ö÷´°¿Úµ¯³öÒ»¸öģ̬´°¿Ú,
var firstDiag = window.showModalDialog(url,window,"center:yes;dialogWidth:300px;dialogHeight:400px");
×¢:ÔÚurlÎļþµÄhead¼ÓÈë <base target='_self'> ¾ ......

asp.netΪͼƬÌí¼ÓÎÄ×Öˮӡ

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="s ......

¸ÅÊöASP.NET´íÎó´¦Àí


±¾ÎĽéÉÜASP.NET´íÎó´¦Àí£¬ÒÔ¼°½éÉÜÈç¹ûÄúµÄÓ¦ÓóÌÐòÊÔͼµÇ¼Êý¾Ý¿âʱûÓгɹ¦£¬ÔòÏÔʾµÄ´íÎóÐÅÏ¢²»Ó¦¸Ã°üÀ¨ËüÕýÔÚʹÓõÄÓû§Ãû¡£
Òª´´½¨Ò³ÖеÄÈ«¾Ö´¦Àí³ÌÐò£¬Çë´´½¨ Page_Error ʼþµÄ´¦Àí³ÌÐò¡£Òª´´½¨ASP.NETÓ¦ÓóÌÐò·¶Î§µÄ´íÎó´¦Àí³ÌÐò£¬ÇëÔÚ Global.asax ÎļþÖн«´úÂëÌí¼Óµ½ Application_Error ·½·¨¡£Ö»ÒªÄúµÄÒ³»òÓ¦ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ