摘要:
using system;
using system.componentmodel;
using system.data;
using system.xml;
namespace system.data.xmlclient
{
public class xmlconnection : component, idbconnection, icloneable
{
// co......
摘要:
upgrade your ini files to xml with .net (cont.)
......
看看国外的一个操作XML的东西。很不错。一、System.Data.XmlClient-XmlCommand
using system;
using system.componentmodel;
using system.data;
using system.xml;
namespace system.data.xmlclient
{
public class xmlcommand : component, idbcommand, icloneable
{
// constructors
public xmlcommand()
{
}
public xmlcommand(string scommand)
{
_commandtext = scommand;
_connection = null;
}
public xmlcommand(string scommand, xmlconnection conn)
{
_commandtext = scommand;
_connection = conn;
}
////////////////////
// idbcommand
////////////////////
// public properties
public string commandtext
{
get { return _commandtext; }
set { _commandtext = value; }
}
public int commandtimeout
{
 ...
下一页 摘要:
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 initializati......