26. What are the various methods provided by the DataSet object to generate XML?
The various methods provided by the DataSet object to generate XML are:
The various methods provided by the DataSet object to generate XML are:
- ReadXml() - Reads XML document into a DataSet object.
- GetXml() - Returns a string containing an XML document.
- WriteXml() - Writes an XML data to disk.
27. Out of Windows authentication and SQL Server authentication, which authentication technique is considered as a trusted authentication method?
The Windows authentication technique is considered as a trusted authentication method because the username and password are checked with the Windows credentials stored in the Active Directory.
The SQL Server Authentication technique is not trusted as all the values are verified by SQL Server only.
28. How would you connect to a database by using .NET?
The connection class is used to connect a .NET application with a database.
29. Which adapter should you use, if you want to get the data from an Access database?
OleDbDataAdapter is used to get the data from an Access database.
The Windows authentication technique is considered as a trusted authentication method because the username and password are checked with the Windows credentials stored in the Active Directory.
The SQL Server Authentication technique is not trusted as all the values are verified by SQL Server only.
28. How would you connect to a database by using .NET?
The connection class is used to connect a .NET application with a database.
29. Which adapter should you use, if you want to get the data from an Access database?
OleDbDataAdapter is used to get the data from an Access database.