Howard
Howard

Reputation: 31

Advantage .NET Data Provider - AdsConnection - DataSource

Does the full dictionary path need to be specified for the DataSource? I have tried using the database AliasName and it doesn't seem to work.

Upvotes: 1

Views: 371

Answers (1)

LanceSc
LanceSc

Reputation: 2124

Alias are only supported in Delphi and C++Builder. For ADO.NET you should store your connection strings in either the web.config or app.config file. See the MSDN for more details and examples, http://msdn.microsoft.com/en-us/library/ms254494.aspx

Upvotes: 1

Related Questions