当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: As you upgrade your .NET
 

 

    摘要: xml 序列化(serialization) ......
    摘要: 刚接触.net时,就看到过一些用到xml serialization的例子,当时没什么感觉。后来看了sdk和一些较大的程序后,逐渐有了点感觉。我个人感觉xml serialization 的最大好处是可以将一个xml文件对象化,比如说xml中的元素、属性等都可以对应到对象、对象的属性。这样我们可以用对象的思想来操作数据,由于目前主流数据库还只是关系型的(oracle也只是部分面向对......


UpgradeYourINIFilestoXMLwith.NET(1)
as you upgrade your .net applications, upgrade those legacy ini files as well, and save yourself some headaches. by a. russell jones, executive editor he ini (application initialization) file format became popular because it provided a convenient way to store values that might change (such as file locations, user preferences, etc.) in a standard format accessible to but outside of compiled application code. ini files are text-based, meaning you can read and change the values easily; logically arranged, meaningit is easy even for non-technical personnel to understand the contents; and the functions for reading and modifying the files were built into windows. in a recent featured discussion on devx (see use com interop to read and write to ini files with .net) i explained how to read and write ini files with .net using dllimport to access the windows api functions from within a c# or vb.net class. although the dllimport method lets you use existing ini files from .net, it doesnt do anything to solve the problems inherent in the ini file format itself—and ini files have a number of deficiencies. for example, total file size is limited to 64kb total, individual values cannot exceed 256 characters, and the windows api provides no programmatic
...   下一页
    摘要: microsoft sql server 2000引入了支持xml功能的新特性。在这里我讲对自己在学习当中遇到的例子及问题 发表出来。若要使用microsoft sql server 2000提供的xml功能,您必须使用过xml、url和http方法,也就是 您必须已经是一个xml入门者,否则建议您还是去先学习一下有关xml的知识。     学习环境为装有microsoft ......
» 本期热门文章:

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