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, August 30, 2008

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

Home > Search > Articles & Samples > C-Sharp > Attributes
Map DataTable DataColumn To Class Properties Using Custom Attributes in C# / ADO.NET        
Total Hits: 300  |  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.


What's New at DevASP.Net
08/30  Creating a Dynamic Data-Driven Us..
08/30  Creating a Databound Label Contro..
08/30  Displaying a Message in Response ..
08/30  Creating a Dynamic Data-Driven Us..
08/30  Helping Visitors Search Your Site..
08/30  Examining ASP.NET 2.0's Membershi..
08/30  Displaying Detail Records for Use..
08/30  Troubleshooting Failed Requests U..
08/30  Tracing in ASP.NET
08/30  Tracing
08/30  The Basics of .NET Tracing
08/30  Tracing in ASP.NET 2.0
08/30  Page.IsValid Property
08/30  BaseValidator.IsValid Property
08/30  HttpWebRequest Class
08/30  HttpWebRequest
08/30  Cards Game Library
08/30  CMS/TSO PipeLines for Windows - P..
08/30  CMS/TSO PipeLines for Windows - P..
08/30  CMS/TSO PipeLines for Windows - P..
Latest Posts at Dev Forums
displaying an xml file in datagridview
Tory Block
Deploying website to offline and onlin..
Deploying website to offline and onlin..
window service c#
kiossru
Regular expression
asp.net
Very urgent--
submit to the server
load gif image
focus
filter combo boxes in formview control
ASP Composite Control and Position
Caching as a Master DataSource w/t Rea..
Method returning values in Threadpool!
ADVERTISEMENTS USING XML FILE
DATALIST PROBLEM
FTP Downloading using C#
Nested gridview footer total by using ..

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