TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Schleid Alex
NA
361
49k
defining connection in class file
Jan 13 2020 1:16 PM
Good morning,
I am trying to build an application with asp.net mvc and ado.net
I want to :
1) Define a connection object
2) Read the connection info from the database
and put all the above information in a class that will return a connection object that would be accessible to all the other classes in the project.
I am not opening the connetion in that, let's call it, connection class but just definition.
Can someone help me out please?
Reply
Answers (
5
)
How to add information from database to list<t>
Reference Foreign Key with 3 Foreign Key But 1 Table