XmlConnection
using System;using System.ComponentModel;
using System.Data;
using System.Xml;
namespace System.Data.XmlClient
{
public class XmlConnection : Component, IDbConnection, ICloneable
{
// Constructors
public XmlConnection()
{
}
public XmlConnection(string connectionString)
{
_connString = connectionString;
}
////////////////////
// IDbConnection
////////////////////
// Public Properties
public string ConnectionString
{
get { return _connString; }
set { _connString = value; }
}
public int ConnectionTimeout
{
get
{
throw new InvalidOperationException("XmlClient Provider does not support this function");
补充:asp.net教程,XML应用