public static int WriteRows2SDF( TextWriter w, DatabaseRow[] rows, string structurefield, string structureformat )