Articles
Tutorials
Resources
RSS Feeds
Book Shop
Programmer Software
Webmaster Corner
Web Hosting Articles
Search




Coupon Codes - never pay more again.. find discount coupon codes before making any online purchase just for free at couponrefund.com




Oracle Database 10g DBA Handbook
Oracle Database 10g DBA Handbook
Buy Now


Sams Teach Yourself C# in 21 Days
Sams Teach Yourself C# in 21 Days
Buy Now


C++ How to Program (4th Edition)
C++ How to Program (4th Edition)
Buy Now


Microsoft C# Language Specifications
Microsoft C# Language Specifications
Buy Now


Cascading Style Sheets : Designing for the Web (3rd Edition)
Cascading Style Sheets : Designing for the Web
Buy Now


Studio MX 2004 with Flash
Studio MX 2004 with Flash
Buy Now


Hitchhiker
Hitchhiker's Guide to SQL Server 2000 Reporting Services
Buy Now


 


  HOME >> C# >> Programming Tutorial

 

How to avoid writing SQL for Ado.Net DataAdapter
Ranking:Your Ranking:
One of most repetitive, boring and thus error prone tasks when accessing databases from C# (or other language) is writing SQL commands. And when there is explicit SQL, no matter whether it's in stored procedures or inside your code, it has to be maintained. For instance if column is added to database, that one must be added to all 4 commands (INSERT, SELECT, UPDATE, DELETE - aka CRUD), and there are often more than one SELECTs with different filters. There are certainly times when you must write some SQL, but it would be better if machine could create as much as possible. This article is about writing some code that can do that job. It was made for SQL Server but you shouldn't have too much problems to customize it to db you use.
Views: 334Submitted: 28th of October 2010Report Dead Link

   Go Back


Home Write for Us Advertising Add Link

2000-2008 ProgrammerTutorials.com  Privacy Policy


Partners: Web Design Directory | JavaScript tutorials | Free Webmaster Tools | Free Layouts | Make Money Online