Archive for February 2005

 
 

DataAdapter for CSV files

Cathi Gero posted some code that allows you work with CSV files using CSVDataAdapter . Nice job!

To read the contents of a CSV file:

CSVDataAdapter CSVda = new CSVDataAdapter(@"c:\MyFile.csv");
CSVda.HasHeaderRow = true;
DataSet ds = new DataSet();
CSVda.Fill(ds);
 

To write to a CSV file:

CSVDataAdapter CSVda = new CSVDataAdapter(@"c:\MyFile.csv");
bool InclHeader = true;
CSVda.Update(MyDataSet,"MyTable",InclHeader);
 

Offline content for Designing .NET Class Libraries Series

Designing .NET Class Libraries Presentation by Brad Adams .I highly recommend them for all developers.

Setting the Stage

Naming Conventions

Rich Type System

Member Types

Designing Inheritance Hierarchies

What Great .NET Developers Ought To Know - questions and answers

Scott Hanselman posts an extended list of .NET Interview questions. It’s a excelent list to sharpen any .NET developers skills. Are these questions difficult to answer? You may find answers on Ayende Rahein’s Blog .

Enhanced DataSet Watch Visual Studio Addin

This addin is an update to Mohammed Barqawi’s excellent DataSet Quick Watch addin.

I’ve summarized the enhancements below:

Added support for Typed DataSets
Added support for DataTables and DataRows (typed and untyped)
Added filtering support (based on DataViewRowState and free-text)

Read article( Download addin )

[ Via CodeBureau : Matt Simner]

Microsoft Enterprise Library Logging Block compared to Log4net

I came across this blog post today:

Microsoft Enterprise Library Logging Block compared to Log4net


Page 1 of 41234