Esempio n. 1
0
        private Dictionary <string, string> GetChecksumDataFromDB(string fileName)
        {
            Dictionary <string, string> ChecksumsFromDB = new Dictionary <string, string>();

            string[]      rowItems = new string[4];
            List <string> rows     = new List <string>();

            rows = db.SelectAllRows(fileName);
            foreach (string item in rows)
            {
                rowItems = item.Split(',').ToArray();
                ChecksumsFromDB.Add(rowItems[3], rowItems[4]);
            }
            return(ChecksumsFromDB);
        }