StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
Web Forms Connection String
Web Forms Connection String
Post Reply
Like
1
Web Forms Connection String
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ross L Rooker, Sr.(1)
Ross L Rooker, Sr.(1)
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 50,
Visits: 163
Figured it out:
MicroFour.StrataFrame.Data.
DataLayer
.DataSources[0].ConnectionString.ToString()
Reply
Like
1
Ross L Rooker, Sr.(1)
Ross L Rooker, Sr.(1)
posted 10 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 50,
Visits: 163
I have this defined in the Global.asax in Application_Start method:
DataLayer
.DataSources.Add(
new
SqlDataSourceItem
(
""
,
"server=111.111.111.111;User ID=xxxxxxxx;Password=xxxxxxxx;database=XXXdata"
));
My question is how do I access this connection string value if required in a form within the web application.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search