Esempio n. 1
0
        public static string displayAIXport(List<string> _arr)
        {
            DataTable dummy = new DataTable();

            TeamMgt _team = new TeamMgt();
            _team.MonthYear = Convert.ToDateTime(_arr[0].ToString());
            _team.TeamID = Convert.ToInt32(_arr[1].ToString());
            DataSet ds = new DataSet();
            try
            {
                AttendanceMgt _atmgt = new AttendanceMgt();
                _atmgt.Session["xport"] = _team.getAIExport();
                string x = string.Concat("Attendance-Incentive-", _arr[2].Replace(" ", ""));
                _atmgt.Session["xportfilename"] = x;
            }
            catch (Exception ex)
            {

            }
            return "RAWR";
        }
Esempio n. 2
0
        public static string displayAIXport(List <string> _arr)
        {
            DataTable dummy = new DataTable();

            TeamMgt _team = new TeamMgt();

            _team.MonthYear = Convert.ToDateTime(_arr[0].ToString());
            _team.TeamID    = Convert.ToInt32(_arr[1].ToString());
            DataSet ds = new DataSet();

            try
            {
                AttendanceMgt _atmgt = new AttendanceMgt();
                _atmgt.Session["xport"] = _team.getAIExport();
                string x = string.Concat("Attendance-Incentive-", _arr[2].Replace(" ", ""));
                _atmgt.Session["xportfilename"] = x;
            }
            catch (Exception ex)
            {
            }
            return("RAWR");
        }