看看国外的一个操作XML的东西。很不错。一、System.Data.XmlClient - XmlC
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
{
补充:asp.net教程,XML应用