Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Get list of OleDb providers with C#

Get list of OleDb providers with C#

Scheduled Pinned Locked Moved Database
csharpdatabasesql-serverwinformssysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    musefan
    wrote on last edited by
    #1

    Hi All, I am currently working on a part of my project (using windows forms in C#.Net) which involves creating connection string based on values. I have a simple form where the user can specify the type of database (SQL Server, Access etc.) and then give specific connection information based on the database type selected. One thing I would like to be able to do is to allow the user to specify the OleDb provider when using an access database. I can easily allow free text entry for the provider but it would be much more user friendly if I could give the user a drop down of available providers for selection. So... Does anybody know have I could retrieve such a list? Thanks ...Oh, and before anybody wants to complain, I have had no luck with google

    Life goes very fast. Tomorrow, today is already yesterday.

    M 1 Reply Last reply
    0
    • M musefan

      Hi All, I am currently working on a part of my project (using windows forms in C#.Net) which involves creating connection string based on values. I have a simple form where the user can specify the type of database (SQL Server, Access etc.) and then give specific connection information based on the database type selected. One thing I would like to be able to do is to allow the user to specify the OleDb provider when using an access database. I can easily allow free text entry for the provider but it would be much more user friendly if I could give the user a drop down of available providers for selection. So... Does anybody know have I could retrieve such a list? Thanks ...Oh, and before anybody wants to complain, I have had no luck with google

      Life goes very fast. Tomorrow, today is already yesterday.

      M Offline
      M Offline
      Mark Shteinberg
      wrote on last edited by
      #2

      Hi I`m searching for the same thing. The only thing i have found is using SQL function EXEC master..xp_enum_oledb_providers

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups