Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Call connection string from class inside sqldatasource
Fareeda Hussain
Aug 30 2016 1:37 AM
231
Reply
Hi
Can anyone tell how can I call connection string from class inside sql datasource
for example like
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ class.connectionstring %>" SelectCommand="SELECT * FROM [Course_details]"></asp:SqlDataSource>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
multiple queries in Entity Framework ?
How to eliminate renderblocking of webresources.asd