摘要:
scheduleTimeoutControl MongoError: command find requires authentication
MongoTimeoutError: Server selection timed out after 30000 ms 阅读全文
摘要:
$('#text').inputmask('decimal');默认是右对齐的添加rightAlign后无效,改成rightAlignNumerics $('#text').inputmask('decimal', {rightAlignNumerics: false}); 阅读全文
摘要:
/// /// 使用虚拟表进行分页查询,不适用明确知道列名的查询/// /// sql 如"select * from name where 1=1"/// 页码 如"1"/// 条数 如"100"/// DataTablepublic static DataTable SelectPaging(S... 阅读全文
摘要:
一定还有很多的问题,比如设置列宽时很麻烦,也没有什么很高深的东西。写是为了自己先记下来防止以后忘了。首先肯定要下载PHPEXCEL后放到项目里。以下是控制器中的代码require APP_PATH . 'Common/PHPExcel/PHPExcel.php';// 引入PHPExcel,自己修改... 阅读全文
摘要:
下载PHPEXCEL后放到项目里。 public function InExcel() { //设定缓存模式为经gzip压缩后存入cache(PHPExcel导入导出及大量数据导入缓存方式的修改 ) $cacheMethod = PHPExcel_CachedObjec... 阅读全文
摘要:
JS部分的代码 html部分代码 阅读全文
摘要:
using System;using System.IO;using System.Messaging;namespace YURE.PAIWEI.BALIANGUI{ /// /// MQ文件发送 /// 所有异常都将抛出请做好异常处理 /// public st... 阅读全文