Skip to content

Get the connection string from the first data source #1260

Closed Answered by rvgfox
rvgfox asked this question in 🙋‍♀️TE3 Q&A
Discussion options

You must be logged in to vote

I've solve it with:

string sConnectionString=(Model.DataSources[0] as ProviderDataSource).ConnectionString;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rvgfox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant