Example #1
0
        public List <String> AllTableConstrains()
        {
            dt = employeeDal.AllTableConstrains();
            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);
        }