我们知道mvc可以通过js生成excel文件,同样在后台c#中一样可以生成excel文件。 首先我们要在后台中写如下方法: 我们看到,在c#中导出excel,这种方法可以通过画html中table的方式做出excel,而这种方法导出的表格是一个简单表格,在排版上还需要更多的斟酌。 在前台的时候,务必 ...
pip install Error OSX 终端更新pip出错 sudo pip install --upgrade pip : 1.ReadTimeoutError: HTTPSConnectionPool(host=’pypi.Python.org’, port=443): Read 解决办法: ...
分类:
Web程序 时间:
2016-12-12 22:54:28
阅读次数:
201
前言:本来准备初探AngularJS2,结果成了复习git和再探node git的两个常见问题:一、github上传时出现error: src refspec master does not match any解决办法 二、如何解决failed to push some refs to git An ...
分类:
Web程序 时间:
2016-12-12 22:19:11
阅读次数:
288
最近更新了下cocoapods,今天再pod update 就遇到这个错误: 大体意思就是说,库没有用到指定的target。 找了下资料,发现是新版CocoaPods在 Podfile里使用时,必须指定target: 比如: 解决方法: 添加 target ‘TestSwift’ do end 这两 ...
分类:
Web程序 时间:
2016-12-12 11:39:45
阅读次数:
167
我觉得这道题是hard,难点第一是要想到用stack,第二是要维护一个这样子的min-max序列:So at any time in the stack, non-overlapping Pairs are formed in descending order by their min value, ...
分类:
其他好文 时间:
2016-12-12 07:45:25
阅读次数:
182
http://www.open-open.com/lib/view/open1366080269265.html这个先记录一下省得以后再找 ...
分类:
其他好文 时间:
2016-12-11 18:03:55
阅读次数:
353
C++ 通过以下几个类支持文件的输入输出: ofstream: 写操作(输出)的文件类 (由ostream引申而来) ifstream: 读操作(输入)的文件类(由istream引申而来) fstream: 可同时读写操作的文件类 (由iostream引申而来) 打开文件(Open a file) ...
分类:
编程语言 时间:
2016-12-11 15:18:25
阅读次数:
230
今天想用一下显示器自带的喇叭,忽然发现声音输出选项里HDMI的声音设备没了。之前开始使用这台显示器的时是用过一段时间的。 百度了一番,没发现什么线索。后来去谷歌找到这么一段文字: I'm not sure where to report this, but after I upgraded a Le ...
分类:
Windows程序 时间:
2016-12-11 02:51:51
阅读次数:
2126
Network Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 9434 Accepted: 3511 Description A network administrator manages a large network. Th ...
分类:
Web程序 时间:
2016-12-11 01:59:13
阅读次数:
295
https://msdn.microsoft.com/en-us/library/1ez7dh12.aspx A dynamic-link library (DLL) is an executable file that acts as a shared library of functions a ...
分类:
其他好文 时间:
2016-12-11 01:05:23
阅读次数:
140