Developing For .NET

Real World .NET Methods, Tricks, and Examples

DevelopingForDotNet.DataTables

This namespace is designed to work with DataTable object, a staple of ADO.NET. It currently contains the following methods:

  • DataTableToCSV - Receives a DataTable object and returns its contents in a properly formatted CSV string.
  • CreateDataTable - Receives a Type object and uses Reflection to create a DataTable object based on its publicly exposed properties.

First introduced in this post.
DOWNLOAD

No comments yet. Be the first.

Leave a reply