当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: usingSystem;usingSystem.IO;usin
 

 

    摘要:php 5 is a very popular point for discussion within the php community. with the third release candidate released on the 8th of june and the zend php 5 coding contest, it is easy to see that the full stable release of php 5 is just......
    摘要:1,尽量使用c#和java语法的交集2,新建一个包封装类库相关的常用的调用,如platform.collection,platform.string等3,使用自定义接口隔离平台相关的调用,如消息系统(msmq,jms),远程调用系统(.net remoting, rmi),序列化机制等 理想情况下,你几乎会同时得到支持.net和j2ee的各一套系统 不考虑webservice的情况下 ......


在.Net1.2中对Xquery的支持

在.net1.2中支持xquery,xquery使用一种叫flwor的查询语言(音flower).例子如下:

【相关文章:实现上千万条数据的分页显示!

【扩展阅读:Web开发技术史话

【扩展信息:关于blog的作用的一些思考

using system;

using system.io;

using system.xml;

using system.xml.query;

using system.data.sqlxml;

namespace xquery{

public class xquerysample{  

public static void main(string[] args)  {    

system.xml.xmldatasourceresolver ds = new system.xml.xmldatasourceresolver ();    

ds.add("bookstore","books.xml");    

streamwriter writer=new streamwriter("output.xml");   

 string query=@"<bookstore>      {        

 for $b in document(´bookstore´)/bookstore/book        

 where $b/@genre=´philosophy´ and $b/@publicationdate=´1991´       

 return $b/title       

}    


...   下一页
    摘要:第十章 属性 摘要: 本章讨论c#中的 属性 及 索引器 一、属性 分为静态属性、实例属性和虚属性 l 避免直接访问类型字段或使用烦琐的访问器方法进行访问 l 很好的实现了类型的数据封装,如:改变字段而维持属性的意义对用户是透明的 l 代码量小,运算量小的操作才使用属性,否则使用方法调用更合适 二、索引器 l 可有多个重载的索引器,只要参数列表不同即可 l 可通过应用system.runtime.compilerservices.indexernameat......
» 本期热门文章:

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