Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
8
Answers
Separate class for database connection
Kavita B
13y
16.2k
1
Reply
Hi,
Is it good from security point of view to create a separate class for connection and use it? or save the connection string in web.config file... Which is the best method?
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
Not able to import certain namespaces in c# class
Calling stored procedure in asp.net