예제 #1
0
        public static string displayNpt(List<string> _arr)
        {
            DataTable dummy = new DataTable();
            dummy.Columns.Add("Task Name");
            dummy.Columns.Add("Status");

            SystemObjects.OPT _opt = new SystemObjects.OPT();

            _opt.TeamID = Convert.ToInt32(_arr[0].ToString());
            DataSet ds = new DataSet();
            try
            {
                dummy.Merge(_opt.DisplayNptTask());
                if (dummy.Rows.Count < 1)
                {
                    dummy.Rows.Add();
                }
                ds.Tables.Add(dummy);
            }
            catch (Exception ex)
            {

            }
            return ds.GetXml();
        }
예제 #2
0
        public static string displayNpt(List <string> _arr)
        {
            DataTable dummy = new DataTable();

            dummy.Columns.Add("Task Name");
            dummy.Columns.Add("Status");

            SystemObjects.OPT _opt = new SystemObjects.OPT();

            _opt.TeamID = Convert.ToInt32(_arr[0].ToString());
            DataSet ds = new DataSet();

            try
            {
                dummy.Merge(_opt.DisplayNptTask());
                if (dummy.Rows.Count < 1)
                {
                    dummy.Rows.Add();
                }
                ds.Tables.Add(dummy);
            }
            catch (Exception ex)
            {
            }
            return(ds.GetXml());
        }
예제 #3
0
파일: Eve.aspx.cs 프로젝트: DevOps-SFDC/GPH
        public static string displayNPTtask(List <string> _arr)
        {
            DataSet ds = new DataSet();

            SystemObjects.OPT _opt = new SystemObjects.OPT();

            _opt.TeamID = Convert.ToInt32(_arr[0].ToString());

            try
            {
                ds.Tables.Add(_opt.DisplayNptTask());
            }
            catch (Exception ex)
            {
            }
            return(ds.GetXml());
        }
예제 #4
0
파일: Eve.aspx.cs 프로젝트: DevOps-SFDC/GPH
        public static string displayNPTtask(List<string> _arr)
        {
            DataSet ds = new DataSet();
            SystemObjects.OPT _opt = new SystemObjects.OPT();

            _opt.TeamID = Convert.ToInt32(_arr[0].ToString());

            try
             {
                ds.Tables.Add(_opt.DisplayNptTask());
            }
            catch (Exception ex)
            {

            }
            return ds.GetXml();
        }