C#
How can I find the FieldCount and Field names? Code is below.
Thanks,
arep
using (StreamWriter sw = new StreamWriter("Output.txt"))
{
foreach (var v in DedOopLib.DebOop.nested)
{
foreach (var i in v.Value.Values)
{
for (int fcnt = 0; fcnt "\"");
sw.Write(i.GetName(fcnt));
sw.Write("\"");
if (fcnt != sw.FieldCount - 1) sw.Write(",");
}
VulpesRank #55 · 29.2K reputationPosted Aug 24, 2011, 12:20 PM EDT
A RepaskyRank #8,108 · 228 reputationPosted Aug 24, 2011, 1:32 PM EDT
arep