{"id":467,"date":"2006-08-29T15:11:00","date_gmt":"2006-08-29T15:11:00","guid":{"rendered":"http:\/\/www.sincebirth.cn\/?p=467"},"modified":"2006-08-29T15:11:00","modified_gmt":"2006-08-29T15:11:00","slug":"%e7%bb%ad%e4%b8%8a%e7%af%87","status":"publish","type":"post","link":"https:\/\/sincebirth.space\/?p=467","title":{"rendered":"\u7eed\u4e0a\u7bc7"},"content":{"rendered":"<div id=\"blog_text\" class=\"cnt\"><strong >4.\\App_GlobalResources Folder<\/p>\n<p><\/strong >\u8d44\u6e90\u6587\u4ef6(.resx) \u662f\u4e00\u4e2a\u5728\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f9d\u636e\u4e0d\u540c\u6587\u5316\u6765\u6539\u53d8\u9875\u9762\u5185\u5bb9\u7684\u53ef\u4ee5\u4f5c\u4e3a\u6570\u636e\u5b57\u5178\u7684\u5b57\u4e32\u8868\u3002\u9664\u5b57\u4e32\u5916\uff0c\u8fd8\u53ef\u6dfb\u52a0image\u7b49\u5176\u5b83\u6587\u4ef6\u3002<br \/>\u4f8b\u5982\u6dfb\u52a0\u4e24\u4e2a\u8d44\u6e90\u6587\u4ef6\u5230\u6b64\u6587\u4ef6\u5939\uff1a<br \/>\u7b2c\u4e00\u4e2a\u8d44\u6e90\u6587\u4ef6\u662fResource.resx\u8fd9\u662f\u9ed8\u8ba4\u8bed\u8a00\u4f7f\u7528\u82f1\u8bed\u3002<br \/>\u3000\u3000<strong >Name \u3000\u3000\u3000\u3000Value<\/strong ><br \/>\u3000\u3000Answer\u3000\u3000\u3000 &nbsp;Hello there<br \/>\u3000\u3000PageTitle \u3000\u3000\u3000Sample Page<br \/>\u3000\u3000Question\u3000\u3000\u3000 What is your name?<br \/>\u7b2c\u4e8c\u4e2a\u8d44\u6e90\u6587\u4ef6\u662fResource.zh-cn.resx)\u4f7f\u7528\u4e2d\u6587\u3002<br \/><strong >\u3000\u3000Name \u3000\u3000\u3000\u3000Value<br \/><\/strong >\u3000\u3000Answer\u3000\u3000\u3000\u3000 \u4f60\u597d<br \/>\u3000\u3000PageTitle\u3000\u3000 \u3000\u793a\u4f8b\u9875\u9762<br \/>\u3000\u3000Question \u3000\u3000 \u3000\u4f60\u7684\u540d\u5b57\u53eb\u4ec0\u4e48\uff1f<\/p>\n<p><strong >Listing 3-18: A simple ASP.NET page that uses resource files<br \/>VB<br \/><\/strong ><\/p>\n<div style=\"BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px sol\" ><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >%@&nbsp;Page&nbsp;Language<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dVB\u201d&nbsp;Culture<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201d<\/span ><span style=\"COLOR: #0000ff\" >Auto<\/span ><span style=\"COLOR: #000000\" >\u201d&nbsp;UICulture<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201d<\/span ><span style=\"COLOR: #0000ff\" >Auto<\/span ><span style=\"COLOR: #000000\" >\u201d&nbsp;%<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >!DOCTYPE&nbsp;html&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >PUBLIC<\/span ><span style=\"COLOR: #000000\" >&nbsp;\u201c<\/span ><span style=\"COLOR: #000000\" >-\/\/<\/span ><span style=\"COLOR: #000000\" >W3C<\/span ><span style=\"COLOR: #000000\" >\/\/<\/span ><span style=\"COLOR: #000000\" >DTD&nbsp;XHTML&nbsp;<\/span ><span style=\"COLOR: #000000\" >1.1<\/span ><span style=\"COLOR: #000000\" >\/\/<\/span ><span style=\"COLOR: #000000\" >EN\u201d<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/>\u201chttp:<\/span ><span style=\"COLOR: #000000\" >\/\/<\/span ><span style=\"COLOR: #000000\" >www.w3.org<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >TR<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >xhtml11<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >DTD<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >xhtml11.dtd\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >script&nbsp;runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockStart.gif\" align=\"top\" \/><img decoding=\"async\" style=\"DISPLAY: none\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ContractedBlock.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >Protected<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff\" >Sub&nbsp;Page_Load()<\/span ><span ><span style=\"COLOR: #0000ff\" >Sub<\/span ><span style=\"COLOR: #000000\" >&nbsp;Page_Load(<\/span ><span style=\"COLOR: #0000ff\" >ByVal<\/span ><span style=\"COLOR: #000000\" >&nbsp;sender&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >As<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >Object<\/span ><span style=\"COLOR: #000000\" >,&nbsp;_<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >ByVal<\/span ><span style=\"COLOR: #000000\" >&nbsp;e&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >As<\/span ><span style=\"COLOR: #000000\" >&nbsp;System.EventArgs)<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/>Page.Title&nbsp;<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >&nbsp;Resources.Resource.PageTitle<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockEnd.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >End&nbsp;Sub<\/span ><\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockStart.gif\" align=\"top\" \/><img decoding=\"async\" style=\"DISPLAY: none\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ContractedBlock.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >Protected<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff\" >Sub&nbsp;Button1_Click()<\/span ><span ><span style=\"COLOR: #0000ff\" >Sub<\/span ><span style=\"COLOR: #000000\" >&nbsp;Button1_Click(<\/span ><span style=\"COLOR: #0000ff\" >ByVal<\/span ><span style=\"COLOR: #000000\" >&nbsp;sender&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >As<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >Object<\/span ><span style=\"COLOR: #000000\" >,&nbsp;_<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >ByVal<\/span ><span style=\"COLOR: #000000\" >&nbsp;e&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >As<\/span ><span style=\"COLOR: #000000\" >&nbsp;System.EventArgs)<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/>Label1.Text&nbsp;<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >&nbsp;Resources.Resource.Answer&nbsp;<\/span ><span style=\"COLOR: #000000\" >&amp;<\/span ><span style=\"COLOR: #000000\" >&nbsp;\u201c&nbsp;\u201c&nbsp;<\/span ><span style=\"COLOR: #000000\" >&amp;<\/span ><span style=\"COLOR: #000000\" >&nbsp;Textbox1.Text<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockEnd.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >End&nbsp;Sub<\/span ><\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >script<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >html&nbsp;xmlns<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dhttp:<\/span ><span style=\"COLOR: #000000\" >\/\/<\/span ><span style=\"COLOR: #000000\" >www.w3.org<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >1999<\/span ><span style=\"COLOR: #000000\" >\/<\/span ><span style=\"COLOR: #000000\" >xhtml\u201d&nbsp;<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >head&nbsp;id<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dHead1\u201d&nbsp;runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >title<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;\/<\/span ><span style=\"COLOR: #000000\" >title<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >head<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >body<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >form&nbsp;id<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dForm1\u201d&nbsp;runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >p<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;<\/span ><span style=\"COLOR: #000000\" >%<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >&nbsp;Resources.Resource.Question&nbsp;%<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;\/<\/span ><span style=\"COLOR: #000000\" >p<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;<\/span ><span style=\"COLOR: #000000\" >br&nbsp;<\/span ><span style=\"COLOR: #000000\" >\/&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >asp:TextBox&nbsp;ID<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dTextbox1\u201d&nbsp;Runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;\/<\/span ><span style=\"COLOR: #000000\" >asp:TextBox<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;<\/span ><span style=\"COLOR: #000000\" >br&nbsp;<\/span ><span style=\"COLOR: #000000\" >\/&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >asp:Button&nbsp;ID<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dButton1\u201d&nbsp;Runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d&nbsp;Text<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dSubmit\u201d<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/>OnClick<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dButton1_Click\u201d&nbsp;<\/span ><span style=\"COLOR: #000000\" >\/&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >p<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;<\/span ><span style=\"COLOR: #000000\" >asp:Label&nbsp;ID<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dLabel1\u201d&nbsp;Runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;\/<\/span ><span style=\"COLOR: #000000\" >asp:Label<\/span ><span style=\"COLOR: #000000\" >&gt;&lt;\/<\/span ><span style=\"COLOR: #000000\" >p<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >form<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >body<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >html<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><\/div ><strong >c#<br \/><\/strong ><\/p>\n<div style=\"BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px sol\" ><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><span style=\"COLOR: #000000\" >&lt;%<\/span ><span style=\"COLOR: #000000\" >@&nbsp;Page&nbsp;Language<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dC#\u201d&nbsp;Culture<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dAuto\u201d&nbsp;UICulture<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dAuto\u201d&nbsp;<\/span ><span style=\"COLOR: #000000\" >%&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;!<\/span ><span style=\"COLOR: #000000\" >DOCTYPE&nbsp;html&nbsp;PUBLIC&nbsp;\u201c<\/span ><span style=\"COLOR: #000000\" >&#8211;<\/span ><span style=\"COLOR: #008000\" >\/\/<\/span ><span style=\"COLOR: #008000\" >W3C<\/span ><span style=\"COLOR: #008000\" >\/\/<\/span ><span style=\"COLOR: #008000\" >DTD&nbsp;XHTML&nbsp;1.1<\/span ><span style=\"COLOR: #008000\" >\/\/<\/span ><span style=\"COLOR: #008000\" >EN\u201d<\/span ><span style=\"COLOR: #008000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >\u201chttp:<\/span ><span style=\"COLOR: #008000\" >\/\/<\/span ><span style=\"COLOR: #008000\" >www.w3.org\/TR\/xhtml11\/DTD\/xhtml11.dtd\u201d&gt;<\/span ><span style=\"COLOR: #008000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;<\/span ><span style=\"COLOR: #000000\" >script&nbsp;runat<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >\u201dserver\u201d<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >protected<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >void<\/span ><span style=\"COLOR: #000000\" >&nbsp;Page_Load(<\/span ><span style=\"COLOR: #0000ff\" >object<\/span ><span style=\"COLOR: #000000\" >&nbsp;sender,&nbsp;System.EventArgs&nbsp;e)<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockStart.gif\" align=\"top\" \/><img decoding=\"async\" style=\"DISPLAY: none\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ContractedBlock.gif\" align=\"top\" \/><\/span ><span style=\"BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff\" ><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/dot.gif\" \/><\/span ><span ><span style=\"COLOR: #000000\" >{<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/>Page.Title&nbsp;<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >&nbsp;Resources.Resource.PageTitle;<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockEnd.gif\" align=\"top\" \/>}<\/span ><\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #0000ff\" >protected<\/span ><span style=\"COLOR: #000000\" >&nbsp;<\/span ><span style=\"COLOR: #0000ff\" >void<\/span ><span style=\"COLOR: #000000\" >&nbsp;Button1_Click(<\/span ><span style=\"COLOR: #0000ff\" >object<\/span ><span style=\"COLOR: #000000\" >&nbsp;sender,&nbsp;System.EventArgs&nbsp;e)<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockStart.gif\" align=\"top\" \/><img decoding=\"async\" style=\"DISPLAY: none\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ContractedBlock.gif\" align=\"top\" \/><\/span ><span style=\"BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff\" ><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/dot.gif\" \/><\/span ><span ><span style=\"COLOR: #000000\" >{<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/InBlock.gif\" align=\"top\" \/>Label1.Text&nbsp;<\/span ><span style=\"COLOR: #000000\" >=<\/span ><span style=\"COLOR: #000000\" >&nbsp;Resources.Resource.Answer&nbsp;<\/span ><span style=\"COLOR: #000000\" >+<\/span ><span style=\"COLOR: #000000\" >&nbsp;\u201c&nbsp;\u201c&nbsp;<\/span ><span style=\"COLOR: #000000\" >+<\/span ><span style=\"COLOR: #000000\" >&nbsp;Textbox1.Text;<br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/ExpandedBlockEnd.gif\" align=\"top\" \/>}<\/span ><\/span ><span style=\"COLOR: #000000\" ><br \/><img decoding=\"async\" src=\"http:\/\/www.cnblogs.com\/Images\/OutliningIndicators\/None.gif\" align=\"top\" \/><\/span ><span style=\"COLOR: #000000\" >&lt;\/<\/span ><span style=\"COLOR: #000000\" >script<\/span ><span style=\"COLOR: #000000\" >&gt;<\/span ><\/div >\n<p >\u5f53\u8fd9\u4e2a\u7a0b\u5e8f\u8fd0\u884c\u65f6\uff0c\u4f1a\u6839\u636e\u6d4f\u89c8\u5668\u8bed\u8a00\u8bbe\u5b9a\u800c\u9009\u62e9\u4f7f\u7528\u4e0d\u540c\u7684\u8d44\u6e90\u6587\u4ef6\u3002\u5982\u679c\u8bed\u8a00\u8bbe\u5b9a\u4e3a\u4e2d\u6587\u5219\u4f1a\u663e\u793a\u4e2d\u6587\uff0c\u5426\u5219\u4e3a\u663e\u793a\u9ed8\u8ba4\u82f1\u6587\u3002<\/p>\n<p><strong >5.\\App_LocalResources Folder<\/strong ><br \/>\u4f60\u4e5f\u53ef\u4ee5\u628a\u8d44\u6e90\u6587\u4ef6\u6dfb\u52a0\u5230\\App_LocalResources\u6587\u4ef6\u5939\uff0c\u53ea\u4e0d\u8fc7\\App_GlobalResources\u6587\u4ef6\u5939\u662f\u5e94\u7528\u7a0b\u5e8f\u7ea7\u522b\uff0c\u800c\\App_LocalResources\u6587\u4ef6\u5939\u662f\u9875\u9762\u7ea7\u522b\u3002<\/p>\n<p><strong >6.\\App_WebReferences Folder<br \/><\/strong >\u4f60\u53ef\u4ee5\u4f7f\u7528\\App_WebReferences\u6587\u4ef6\u5939\u81ea\u52a8\u8bbf\u5728\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u7528\u7684\u8fdc\u7a0bWeb services\u3002<\/p>\n<p><strong >7.\\App_Browsers Folder<br \/><\/strong >\u5b58\u8d2e\u5728&nbsp;\\App_Browsers\u6587\u4ef6\u5939\u4e2d\u7684.browser\u6587\u4ef6\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5728\\Windows\\Microsoft.NET\\Framework\\v2.0xxxxx\\<br \/>CONFIG\\Browsers\u6587\u4ef6\u5939\u4e2d\u770b\u5f97\u5230\u5b83\uff0c\u5b83\u4e3b\u8981\u662f\u7528\u6765\u5224\u65ad\u6d4f\u89c8\u5668\u7684\u517c\u5bb9\u6027\u7684\u3002<\/p >\n<p ><\/p >\n<p >\u8f6c\u81ea\uff1a<a href=\"http:\/\/www.cnblogs.com\/zhhui\/archive\/2006\/03\/21\/354545.html\" >http:\/\/www.cnblogs.com\/zhhui\/archive\/2006\/03\/21\/354545.html<\/a ><\/p ><\/div>\n","protected":false},"excerpt":{"rendered":"<p>4.\\App_GlobalResources Folder \u8d44\u6e90\u6587\u4ef6(.resx) \u662f\u4e00\u4e2a\u5728\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f9d\u636e &hellip; <a href=\"https:\/\/sincebirth.space\/?p=467\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u7eed\u4e0a\u7bc7\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-all"],"views":1703,"_links":{"self":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=467"}],"version-history":[{"count":0,"href":"https:\/\/sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions"}],"wp:attachment":[{"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}