Пример #1
0
        public List <String> AllIndexes()
        {
            dt = employeeDal.AllIndexes();
            List <String> tableList = new List <string>();

            foreach (DataRow r in dt.Rows)
            {
                string value = "";
                foreach (DataColumn c in dt.Columns)
                {
                    value += r[c].ToString() + " | ";
                }
                tableList.Add(value);
            }
            return(tableList);
        }