private DataTable obtenerDatos() { var ejecutor = (Comandos)Session["ejecutorBDSAFcore"]; var fachadaSeg = new clsFachadaSAFcore(ref ejecutor); SentenciaSQL sql = new SentenciaSQL(); sql.FiltroBD.Add(new FiltroBD(clsDetalleDocumento.Campos.idDocumento, IdDocumento, FiltroBD.OperadorLogico.igual)); DataTable datos = fachadaSeg.consultarDatosDetalleDocumento(sql); Session["Datos" + nombreForm] = datos; return datos; }