Hi! everyone can some one share a piece of light with me is it possible to manipulate database access inside a class constructor.Cause i can create a connection but don't know how i'm going to things like data adapter an data set since.Any link Any Help Is appreciated.thanks
Jostra
0
Newbie Poster
Recommended Answers
Jump to PostIt would probably be possible, but I would probably rethink why there are database calls inside of the constructor. I would rather split it out into a separate call.
Here's a link to a Microsoft Patterns and Practices article. If it can't answer questions about how to handle database …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.