New Posts New Posts RSS Feed: Get Apphelper Connection String
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Forum LockedGet Apphelper Connection String

 Post Reply Post Reply
Author
vinothvdp View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Sep-2007
Location: India
Posts: 27
Post Options Post Options   Quote vinothvdp Quote  Post ReplyReply Direct Link To This Post Topic: Get Apphelper Connection String
    Posted: 18-Apr-2008 at 10:21pm
Hello,how To Get the Apphelper Connection string at the runtime
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 22-Apr-2008 at 8:54am
There is not always just one connection string per DevForce application.  However, there is just one connection string per RdbKey,

Here is how you can get the connection string:
 
First get the IdeaBlade.config instance
Dim value As IdeaBladeConfig
 
value = IdeaBladeConfig.Instance
From the IdeaBladeConfig, get the RdbKeys collection which is an IdeaBladeConfig.XmlRdbKeyCollection
 
Select one of the XmlRdbKeys in the collection (often the one with the name of "Default")
Get the connection string from the connection property.
 


Edited by davidklitzke - 22-Apr-2008 at 8:56am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down