>I need to create a generic class that will receive a dataset (from any source and of from any kind of reader), extract the structure of the dataset (like the AFIELDS () function in VFP) and write down the field names and the data in a text file (converting non-character fields to characters). IOW, I need to create a comma-delimited text file from any dataset that the caller will give me.
>
>I'm pretty new on .NET, so I would appreciate any suggestions you may have so that I can get started in the good direction.
>
>Working with VS 2005, C# and SQL Server 2005.
>
>TIA
Sylvain,
You may find this
Re: How to Print Structure Thread #
1295987 Message #
1296000 a bit useful as a start.
If it's not broken, fix it until it is.
My Blog