最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
看看国外的一个操作XML的东西。很不错。一、System.Data.XmlClient - XmlC
时间:2022-07-02 11:47:31 编辑:袖梨 来源:一聚教程网
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
{
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
{