Available ADO.NET Data Providers : Data Provider « Database ADO.net « VB.Net






Available ADO.NET Data Providers

  


Imports System
Imports System.Data
Imports System.Data.Common

    Public Class MainClass
        Public Shared Sub Main()
            Using providers As DataTable = DbProviderFactories.GetFactoryClasses
                For Each prov As DataRow In providers.Rows
                    Console.WriteLine(" Name:{0}", prov("Name"))
                    Console.WriteLine("   Description:{0}", prov("Description"))
                    Console.WriteLine("   Invariant Name:{0}", prov("InvariantName"))
                Next

            End Using
        End Sub
    End Class

   
    
  








Related examples in the same category

1.OleDb Data ProviderOleDb Data Provider
2.SQL Server Data ProviderSQL Server Data Provider
3.Obtain the DbProviderFactory for SQL Server.
4.Generic Data Access