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

ASP.NET 2.0 ±¾µØ»¯2

ÔÚASP.NET 2.0 ±¾µØ»¯¼¼ÊõÖ®Ñо¿µÄ»Ø¸´ÖÐÌáµ½ÁËÒÔÏÂÁ½µã£º
1.ÕâÖ»Êǵ¥¸öÒ³ÃæµÄÇл»£¬ÈçºÎ×öÕû¸öÕ¾µãµÄÇл»ÄØ£¿£¨ hjh £©
2.¹ØÓÚÈçºÎ½«×ÊÔ´Ö±½ÓÏÔʾ……¼ÈÈ»¿Ø¼þÄܹ»½«Ç¶ÈëdllµÄ×ÊÔ´Ö±½ÓÏÔʾ£¬²»ÖªµÀÍøÕ¾ÄÜ·ñÒ²½«Ç¶Èë×ÊÔ´Ö±½Óµ÷ÓÃWebResourceÏÔʾÄØ£¿£¨Cat Chen £©
ÓÉÓÚ²»ÊÇÒ»Á½¾ä¿ÉÒÔ˵Ç壬ËùÒÔÔÙ¿ªÒ»Æª×Ðϸ½²Ò»Ï¡£
ÄÚÈÝÁÐ±í£º
1.ÕûÕ¾±¾µØ»¯×ÊÔ´µÄÇл»
2.ʹÓÃProFile±£´æÓû§Ñ¡ÔñµÄÓïÑÔ
3.¹ØÓÚWebResourceµÄʹÓÃ
4.´úÂëÏÂÔØ
1.ÕûÕ¾±¾µØ»¯×ÊÔ´µÄÇл»
ÔÚÉÏһƪÀïÎÒÃǽ²µ½£¬¿ÉÒÔͨ¹ýÖØÔØÒ³ÃæµÄInitializeCultureº¯Êý£¬ÔÚÆäÖÐÇл»µ±Ç°Ï̵߳ÄCurrentUICultureºÍCurrentCultureÀ´ÊµÏÖ±¾Ò³µÄ×ÊÔ´Çл»¡£ÄÇôÕûÕ¾ÄØ£¿×ܲ»ÄÜÔÚÿ¸öÒ³ÃæÀﶼдÉÏÕ⼸¾ä°É¡£¡£¡£
Ê×ÏÈ£¬ÎÒÏëµ½µÄÊÇʹÓÃMasterPage£¬Èç¹ûÔÚMasterPageÀï¼ÓÉÏ×ÊÔ´Çл»µÄ´úÂ룬ÄÇôËùÓÐʹÓøÃĸ°åµÄÒ³Ã涼¾ß±¸ÕâÖÖÄÜÁ¦ÁË°É£¬ºÇºÇ£¨ÏëµÃ²»´í£©¡£µ«ÈçÒâËãÅÌ´òÆÆÁË£¬MasterPageÊÇʹÓÃ@MasterÀ´ÉùÃ÷µÄ£¬¸ù±¾ºÍPageÊÇÁ½¸ö¼Ì³Ð·Ïߣ¬ËùÒÔMasterPageÀïûÓÐInitializeCultureÕâ¸öÐ麯Êý£¡
û°ì·¨£¬Ïëµ½ÁËÁíÒ»¸ö½â¾ö·½°¸£¬´´½¨Ò»¸ö´ÓSystem.Web.UI.Page¼Ì³ÐÏÂÀ´µÄ»ùÀ࣬ÔÚÆäÖÐʵÏÖ×ÊÔ´Çл»£¬¶øÕ¾ÄÚËùÓÐÒ³ÃæµÄʵÏÖÀ඼´Ó¸ÃÀà¼Ì³Ð¡£OK£¬¾ÍÕâô°ì£¡
´ò¿ªÉÏһƪÍê³ÉµÄÍøÕ¾£¬Ñ¡ÖÐÍøÕ¾£¬ÓÒ¼üÔÚµ¯³ö²Ëµ¥Öеã»÷[Ìí¼ÓASP.NETÎļþ¼Ð]-[App_Code]¡£
Ñ¡ÖиÃÎļþ¼Ð£¬ÓÒ¼üµã»÷[Ìí¼ÓÐÂÏî]£¬ÔÚµ¯³öʽ´°¿ÚÖÐÑ¡Ôñ“Àà”£¬ÃüÃûΪLocalizedPage.cs£¬µã»÷[Ìí¼Ó]Íê³É£¬ÈçͼËùʾ£º
±à¼­LocalizedPage.cs£¬´úÂëÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Threading;
using System.Globalization;
/// <summary>
/// ËùÓÐÐèÒª±¾µØ»¯×ÊÔ´Çл»µÄÒ³Ãæ»ùÀà
/// </summary>
public class LocalizedPage : System.Web.UI.Page 
{
    protected override void InitializeCulture()
    {
        String s = Request.Quer


Ïà¹ØÎĵµ£º

ASP.NET


      TextBox Web ·þÎñÆ÷¿Ø¼þΪÓû§ÌṩÁËÒ»ÖÖÏò ASP.NET ÍøÒ³ÖмüÈëÐÅÏ¢£¨°üÀ¨Îı¾¡¢Êý×ÖºÍÈÕÆÚ£©µÄ·½·¨¡£
 
Ò»¡¢±³¾°
TextBox ·þÎñÆ÷¿Ø¼þÊÇÈÃÓû§ÊäÈëÎı¾µÄÊäÈë¿Ø¼þ¡£Ä¬ÈÏÇé¿öÏ£¬¸Ã¿Ø¼þµÄ TextMode ÊôÐÔÉèÖÃΪ TextBoxMode.SingleLine£¬Õ⽫ÏÔʾһ¸öµ¥ÐÐÎı¾¿ò¡£µ«¿ÉÒÔ½« TextMod ......

asp.net ×Ô¶¯Ìî³ä±íµ¥Êý¾Ý

ÔÚ×Ô¼º×öµÄÍøÒ³Àï ǶÈëÒ»¸öÍøÒ³  È»ºó×Ô¶¯Ìî³ä±íµ¥Êý¾Ý
ÇëÎÊË­ÖªµÀÔõô¸ã°¡?
ÎÒÓÃIframe ²»ÐÐ
¾Í¸ú winform ÀïÃæµÄwebBrowser ¿ØÖÆÍøҳģʽÏàËƵÄ
¼±°¡·
¾Í±ÈÈç˵ÔÚÍøÒ³ÀïǶÈëijÍøÕ¾µÄµÇ½½çÃæ È»ºó°Ñ´ÓÊý¾Ý¿âÀï»ñÈ¡µÄÓû§Ãû ºÍ ÃÜÂë ×Ô¶¯ÌîÉÏÈ¥  È»ºóÌá½»
˵Ã÷ Ìá½»µ½ÍâÕ¾
......

ASP.NET½«WebÕ¾µãϵľø¶Ô·¾¶×ª»»ÎªÐéÄâ·¾¶

ASP.NET½«WebÕ¾µãϵľø¶Ô·¾¶×ª»»ÎªÐéÄâ·¾¶
2009-11-25 10:39
ºÜ¾­³£Ê¹Óõ½µÄÒ»¸ö¹¦ÄÜ,µ«ÔÚÔÚÍøÉÏȴһֱûÓÐÕÒµ½Ïà¹ØµÄ½â¾ö·½·¨,½ñÌì½è×ÅÏîÄ¿Ó¦Óõ½µÄ»ú»áдÁËÁ½¸ö½«¾ø¶Ô·¾¶×ª»»ÎªÐéÄâ·¾¶·â×°ºÃµÄ·½·¨
¡¡¡¡½«WebÕ¾µãϵľø¶Ô·¾¶×ª»»ÎªÏà¶ÔÓÚÖ¸¶¨Ò³ÃæµÄÐéÄâ·¾¶
¡¡¡¡/**//// <summary>
¡¡¡¡/// ½«WebÕ¾µãϵ ......

asp.net ´òÓ¡

<html>
<head>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<title>***WSOFT.NET***</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--media=print Õâ¸öÊôÐÔ¿ÉÒÔÔÚ´òӡʱÓÐЧ-->
<mce:st ......

ASP.NET MVC1.0_ÖÐÎÄ·¢ÐÐÎĵµ

ASP.NET MVCµÄ1.0·¢ÐÐ˵Ã÷
 
×îÐÂÏûÏ¢
ASP.NET MVCµÄ1.0ÊÇASP.NET MVC¿ò¼ÜµÄµÚÒ»¸öÕýʽ°æ±¾µÄÖ§³Ö¡£ÓëÍù³£Ò»Ñù£¬ËæʱÌṩÓйØASP.NET MVCµÄÂÛ̳·´À¡¡£
×¢Ò⣺ÔÚÔËÐеÄASP.NET MVC 1.0°²×°³ÌÐò£¬Ð¶ÔØÈκÎÔçÆÚÔ¤ASP.NET MVCµÄ·¢Ðа汾¡£´ËÍ⣬¹Ø±ÕVisual Studio 2008µÄËùÓÐʵÀý¡£
Îĵµ
ASP.NET MVCÖеÄÎļþ¿ÉÔÚMSD ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ