Hello
I am not the master of c# ..........i need little in creating class file for database handling
I know how to connect database and different operation handling, but like to create a class file so that it be easy to connect database My problem is that I cant able to handle various exception and display appropriate message.........
Any help.......
thanks in advance
prvnkmr194 0 Posting Whiz in Training
Recommended Answers
Jump to Post>My problem is that I cant able to handle various exception and display appropriate message.
I suggest - Entity Data Model Framework.
Jump to PostNo one knows all the exceptions, the best will be to inherit the exception class. But at will also be a waste you can just try/catch/finally the connection and all the exceptions will be caught.
All 6 Replies
james6754 39 Junior Poster
kvprajapati 1,826 Posting Genius Team Colleague
prvnkmr194 0 Posting Whiz in Training
Singlem 0 Light Poster
james6754 39 Junior Poster
prvnkmr194 0 Posting Whiz in Training
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.