what is the way for to change the local database

2 posts, 0 answers
  1. Miguel Reig
    Miguel Reig avatar
    16 posts
    Member since:
    Feb 2006

    Posted 28 May 2009 Link to this post

    In Northwind Sample Application for OpenAccess, what is the way for to change the local database northwind to another in a server?. The database is not yet created on the server.
    And for change to another database eg. Oracle?

  2. Alexander
    Alexander avatar
    727 posts

    Posted 30 May 2009 Link to this post

    Hi Miguel Reig,

    The database address can be specified in the App.config of the NorthwindLibrary project.
    Note that if the database does not exist on the new server, you have to set the "UpdateDatabase" property of the project to "True". This will enable the creation of the database. Nevertheless, the tables will be empty.
    You can just re-Enable the project if you do not want to edit the App.config file manually. This way you will be able to test the connection as well.
    Configuration for Oracle is similar, just point the server address in the Enable project wizard.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top