StrataFrame Forum

Reset a Connection

http://forum.strataframe.net/Topic2792.aspx

By Brad Vick - 9/13/2006





I am calling the ConnectionManager.SetConnections() when the application is first loaded. This works fine for letting the user set the connection initially. What I want to do now is allow the user to change the connection at any time. I cannot see a way to "reset" the connection. If I call SetConnections() again, nothing happens as expected since the connection has already been set. If I call ShowConnectionWizard(), it will allow them to add a new connection, but not change the current one. Is this possible? If so how do I accomplish this?
By Trent L. Taylor - 9/13/2006

All you need to do is call the following method:

ConnectionManager.ShowAvailableConnections()

This will show all of the existing connections and allow them to change it or add another connection.

By Brad Vick - 9/13/2006





Works perfectly, except it is ConnectionManager.ShowAvailableConnectionStrings() Smile



Brad
By Trent L. Taylor - 9/13/2006

Yeah...I was shooting from the hip and left off the Strings Smile  Glad it got you going.