Пример #1
0
        public DataSet importMCNM(string _file, string _yrmo)
        {
            DataTable dt = new DataTable("mcnmTable");

            impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, "EBA", _yrmo));
            return(impData);
        }
Пример #2
0
        public DataSet importRF(string _file)
        {
            DataTable dt = new DataTable("rfTable");

            impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt));
            return(impData);
        }
Пример #3
0
        public DataSet importAnthemBill(string _file)
        {
            DataTable     dt         = null;
            List <string> _sheetName = new List <string>();

            _sheetName.Add("International - Detail");
            _sheetName.Add("Active - Detail");
            _sheetName.Add("Retiree - Detail");
            _sheetName.Add("Cobra - Detail");
            _sheetName.Add("EAP - Detail");
            foreach (string sname in _sheetName)
            {
                switch (sname)
                {
                case "International - Detail":
                    dt = new DataTable("intlTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;

                case "Active - Detail":
                    dt = new DataTable("actTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;

                case "Retiree - Detail":
                    dt = new DataTable("retTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;

                case "Cobra - Detail":
                    dt = new DataTable("cobTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;

                case "EAP - Detail":
                    dt = new DataTable("eapTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;
                }
            }
            return(impData);
        }
Пример #4
0
        public DataSet importClaimsRX(string _file)
        {
            DataTable     dt         = null;
            List <string> _sheetName = new List <string>();

            _sheetName.Add("Medical Claims");
            _sheetName.Add("Rx Claims");
            foreach (string sname in _sheetName)
            {
                switch (sname)
                {
                case "Medical Claims":
                    dt = new DataTable("medclaimsTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;

                case "Rx Claims":
                    dt = new DataTable("medrxTable");
                    impData.Tables.Add(ConvertExcel.ConvertXLS(_file, dt, sname));
                    break;
                }
            }
            return(impData);
        }