我们知道mvc可以通过js生成excel文件,同样在后台c#中一样可以生成excel文件。 首先我们要在后台中写如下方法: 我们看到,在c#中导出excel,这种方法可以通过画html中table的方式做出excel,而这种方法导出的表格是一个简单表格,在排版上还需要更多的斟酌。 在前台的时候,务必 ...
Permanently authenticating with Git repositories, Run following command to enable credential caching. Use should also specify caching expire, After en ...
分类:
其他好文 时间:
2016-12-12 22:56:41
阅读次数:
167
rch.rpm rpm:RPM should not be used directly install RPM packages, use Alien instead!rpm:However assuming you know what you are doing...警告: mysql57-com ...
分类:
数据库 时间:
2016-12-12 01:55:38
阅读次数:
188
库冲突导致的异常,由于多次引入SLF4j包导致。 It seems you have several implementation of SLF4J; you should exclude all the not necessary ones maven项目的解决方法: 通过mvn dependen ...
分类:
其他好文 时间:
2016-12-10 22:06:10
阅读次数:
167
* @link http://www.smarty.net/* @copyright 2008 New Digital Group, Inc.* @author Monte Ohrt <monte at ohrt dot com>* @author Uwe Tews* @author Rodney ...
分类:
Web程序 时间:
2016-12-10 19:34:01
阅读次数:
223
基本过程 1. 选取数组中的一个元素作为基准(pivot) 2. 按照基准将数组分区,左区全部小于基准,右区全部大于基准,使用方法为原地置换(swap in place) 3. 对左右分区递归使用1和2步,直至左右分区只有一个或零个元素,排序完成 JavaScript实现 ...
分类:
编程语言 时间:
2016-12-10 00:50:57
阅读次数:
162
之前项目开发因为改进度,基本都是粗放式开发。为了提高代码质量,单元测试是必不可少的。 针对restful api ,用supertest 测试框架。针对nodejs,引入mocha 和should 可以方便编写单元测试。 首先谈谈supertest,它封装了mocha和expect 模块。用法也比较 ...
分类:
Web程序 时间:
2016-12-09 19:43:37
阅读次数:
375
今天,用iSQL*Plus 以sys用户连接数据库的时候报ORA-28009:connection as sys should be as sysdba or sysoper的错误,不知道是怎么回事,记得以前的时候连接的时候什么错误没报就过去了。有可能是用DBCA又建了一个新库,所以连接不上。从网上 ...
分类:
数据库 时间:
2016-12-08 17:36:34
阅读次数:
200
今天写一个表单提交 居然走到$('#wechat_form').submit() 这没有怎么都没有提交这个表单 google 了一下 Additional Notes:Forms and their child elements should not use input names or ids t ...
分类:
Web程序 时间:
2016-12-08 02:39:22
阅读次数:
300
Constructing Roads Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villa ...
分类:
其他好文 时间:
2016-12-07 23:42:45
阅读次数:
197