Exemple #1
0
 public DbfFile(String path)
 {
     Binary stream = new Binary(File.OpenRead(path));
     header = new DbfFileHeader(stream);
     stream.Seek(header.DataAreaOffset);
     for (int i = 0, count = header.RecordCount; i < count; i++)
     {
         Dictionary<String, String> record = header.ReadRecord(stream);
         if (record != null)
         {
             records.Add(record);
         }
     }
 }