public List <Facturas> ListopeAño() { try { List <Facturas> _ListEstCartera = new List <Facturas>(); PROC_CLEINTES_DB pros = new PROC_CLEINTES_DB(); DataTable dt = new DataTable(); dt = pros.FACT_ULT_AÑO(); _ListEstCartera = (from DataRow dr in dt.Rows select new Facturas() { MES1 = dr["MES"].ToString(), VALOR = Int64.Parse(dr["VALOR"].ToString()) }).ToList(); return(_ListEstCartera); } catch (Exception Exc) { throw Exc; } }