Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, November 22, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

User Rating!

Home > Search > Articles & Samples > C-Sharp > Attributes
Map DataTable DataColumn To Class Properties Using Custom Attributes in C# / ADO.NET        
Total Hits: 305  |  Today: 0 Author: Robbe D. Morris       Rating:  
Read Reviews | Write Review |   Your Rating: 

There is nothing quite like laziness to drive a self starter. I've been looking for a way to speed up the development of the data access layers I've been writing. Particularly in the area of populating class properties with the results returned from a DataTable and I really didn't want to mess with strongly typed DataSets. Plus, you really can't encapsulate business logic. In many cases, you wouldn't want to do this anyway but in some instances (and I have a few) it makes good sense. Our UI or front end programmers seem to work best with having class properties that show up with intellisense. So, I needed something to duplicate this aspect of strongly typed DataSets without the extra work. We've all read about the wonders of programming with custom attributes but I hadn't yet found a real world situation where I could make use of them.

DevASP.Net users Rating
What is your opinion?
Is this your listing?

    If this is your listing and you like to add the rating box
    displayed on the right side on your site you can use the following code.

Go Back
DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net