Condividi tramite


SqlXmlAdapter Object (SQLXML Managed Classes)

This object provides methods that facilitate interaction with the dataset in the Microsoft .NET Framework. For a working sample, see Accessing SQLXML Functionality in the .NET Environment.

The SqlXmlAdapter object supports these methods:

  • void Fill(DataSet ds)
    Fills the dataset in the .NET Framework with the XML data retrieved from SQL Server.
  • void Update(DataSet ds)
    Applies updates to records in SQL Server from the data in the dataset.

The SqlXmlAdapter object supports these constructors:

public SqlXmlAdapter(SqlXmlCommand  cmd) 

public SqlXmlAdapter(
                     string commandText, 
                     SqlXmlCommandType cmdType, 
                     string connectionString
                      ) 

public SqlXmlAdapter(
                     Stream commandStream, 
                     SqlXmlCommandType cmdType, 
                     string connectionString
                     ) 

Vedere anche

Riferimento

SqlXmlCommand Object (SQLXML Managed Classes)
SqlXmlParameter Object (SQLXML Managed Classes)

Guida in linea e informazioni

Assistenza su SQL Server 2005