Setting database connection at runtime

2 posts, 0 answers
  1. IT
    IT avatar
    1 posts
    Member since:
    Mar 2009

    Posted 26 Mar 2009 Link to this post

    Is there a way to set the database connection at runtime instead of in the app config.   When we sell our software, we also provide the database, but we don't have control of the servername that the database is installed on.  Typically we store the name of the database server in the registry, and set up the database connections when the application starts up.
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 27 Mar 2009 Link to this post

    Hello Troy,
    You can find an example about that in the following documentation topic here:
    http://www.telerik.com/help/openaccess-orm/support-for-dynamically-loaded-assemblies.html
    Please tell us  whether this works for you.

    Greetings,
    Dimitar Kapitanov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top