最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
XmlConnection
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
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");
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");
-
上一个: 使用XML的五种场合(转)
相关文章
- XML中的处理指令解析 09-28
- XML中的字符实体与字符数据解析 09-28
- XML中的属性学习代码展示 09-28
- XML中的文档与声明用法介绍 09-28
- 编写SVG布置画布和坐标系统以及视窗的教程 09-28
- XML中的文档与声明使用方法 09-27