当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Globalized Web Applicati
 

 

    摘要: 近日对2k /xp .net比较 有兴趣,找到几篇不错的文章,大家共赏 :) 浅析.net framework对pe文件格式的扩展 webcrazy microsoft .net framework出来小阵子了,我也自从其beta 1以来,第一次接触。本文将从.net生成的一个小pe文件着手,旨在理解.net framework对pe文件格式的扩展。这种扩展目的是让windows系......
 ·microsoftbialkserver2000简介    »显示摘要«
    摘要: microsoft biztalk server 2000 ......


asp.net开发国际化的程序十个例子
globalized web applications & asp.net

【程序编程相关:DataGrid使用技巧(一)

by max poliashenko and chip andrews 【推荐阅读:WorkingwithMSAccessS

(a) 【扩展信息:异步Socket通信

例子1

<input type=text value= <%=getstring(untranslatedstring ) %>>

(b)

response.write("<select>")

for each row in myrecordset

reponse.write("<option")

if myrecordset!id.value = oldselection then

response.write(" selected>")

else

response.write(">")

end if

response.write(getlocalizedstring(myrecordset!myfield.value)&

"</option>")

next

response.write("</select>")

例子2

(a)

public class globalizedlabel : system.web.ui.webcontrols.label

{

protected override void render(htmltextwriter output)

{

output.write(translator.getlocalizedstring(text));

}

}

(b)

translator.getlocalizedstring("the amount of ")) + price.tostring(

) +

translator.getlocalizedstring(" will be charged to your account.&quo

t;));

(c)

(new stringbuilder()).appendformat("the amount of {0:c} will be

charged to your account.", price);

(d)

<%@ page language="c#" %>

<%@ register tagprefix="glb" namespace="globalcontrols&quo

t;

assembly="globalcomponents&quo

t;%>

<html>

<body>

<glb:globalizedlabel id=lblglobal runat=server>test l
...   下一页
 ·wsdl:描述你的web服务    »显示摘要«
    摘要: wsdl: ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE