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
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Changing the database of a typed DataSet after generation

Changing the database of a typed DataSet after generation

Scheduled Pinned Locked Moved .NET (Core and Framework)
databasecsharpsql-serversysadminquestion
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.
  • J Offline
    J Offline
    Jean Louis Leroy
    wrote on last edited by
    #1

    Hello, Using Visual C# 2008, I have created a typed DataSet that connects to a SQL Server database. I would like to change it to connect to an ODBC data source (which in fact connects to the same SQL Server database). No need to be dynamic here. Is there a simple way to do that, or do I have to re-create everything from scratch ? Thanks, J-L

    D 1 Reply Last reply
    0
    • J Jean Louis Leroy

      Hello, Using Visual C# 2008, I have created a typed DataSet that connects to a SQL Server database. I would like to change it to connect to an ODBC data source (which in fact connects to the same SQL Server database). No need to be dynamic here. Is there a simple way to do that, or do I have to re-create everything from scratch ? Thanks, J-L

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Recreate everything from scratch. The classes involved are going to be different and there is stuff that the SQL Server classes supports that the ODBC classes do not. By using ODBC instead of the SQL Server dedicated classes you are also giving up the flexibility and performance benefits of the dedicated classes.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      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