一聚教程网:一个值得你收藏的教程网站

热门教程

XmlDataAdapter

时间:2022-07-02 11:43:14 编辑:袖梨 来源:一聚教程网

using System;
using System.Data;
using System.Data.Common;
using System.Collections;
using System.Xml;
using System.Xml.XPath;
namespace System.Data.XmlClient
{
    public class XmlDataAdapter : DataAdapter
    {
    // Constructors
    public XmlDataAdapter()
        {
        }
    public XmlDataAdapter(XmlCommand selectCommand)
    {
        _selectCommand = selectCommand;
    }
    public XmlDataAdapter(string selectCommandText)
    {
        _selectCommand = new XmlCommand(selectCommandText, new XmlConnection());
    }
    public XmlDataAdapter(string selectCommandText, XmlConnection selectConnection)
    {
        _selectCommand = new XmlCommand(selectCommandText, selectConnection);
    }
    ////////////////////
    // Properties
    ////////////////////
    public XmlCommand SelectCommand
    {
        get { return _selectCommand;    }

热门栏目