private void Imprimir() { try { StringBuilder tabla = new StringBuilder(); tabla.Append("<html><head><meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'></head><body><table style='width:700px'>"); EscribeEncabezado(ref tabla); EscribeDetalle(ref tabla); tabla.Append("</table></body></html>"); CN__Comun cn_comun = new CN__Comun(); cn_comun.ExportarExcel("Reporte_EntradasCRM", tabla.ToString()); } catch (Exception ex) { throw ex; } }