Click here to Skip to main content
13,139,569 members (50,474 online)
Click here to Skip to main content

Stats

3.2K views
3 bookmarked
Posted 14 Feb 2011

An Easy Way To Query a Database

, 14 Feb 2011
The sample code provided by Andrew Rissing is a huge improvement over the original, but incorrectly catches the exception and displays a MessageBox. (Andrew correctly points out this is not a good idea.)A better solution is to allow the exception to fail:public DataSet...

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

woric
Web Developer
Australia Australia
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170915.1 | Last Updated 14 Feb 2011
Article Copyright 2011 by woric
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid