示例#1
0
        /// <summary>
        /// Convert the CSV file into a Datatable within the class
        /// </summary>
        /// <param name="FilePath">Path of file to load</param>
        /// <param name="RemoveApostrophes">inculde a " at the front and end of each field</param>
        public void ReadFile(string FilePath, bool RemoveApostrophes = false)
        {
            Currentfile = new CSVFile(FilePath);

            TranslateCSVtoTable(RemoveApostrophes); // pass in boolean
        }
示例#2
0
 /// <summary>
 /// Read a CSV file in to the Class
 /// </summary>
 /// <param name="FilePath">Path of file to load</param>
 public void ReadFile(string FilePath)
 {
     Currentfile = new CSVFile(FilePath);
     TranslateCSVtoTable();
 }