当前位置:编程学习 > C#/ASP.NET >>

XmlDataAdapter

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;    }
补充:asp.net教程,XML应用 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,