看看国外的一个操作XML的东西。很不错。一、System.Data.XmlClient - XmlC

作者:简简单单 2008-01-12
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
    {

相关文章

精彩推荐