- 博客(9)
- 资源 (3)
- 收藏
- 关注
原创 Visual Studio 中设置npm
VS2017自带的npm会去国外的镜像下载文件, 奇慢无比, 还是马云家淘宝的镜像适合国内用户. 淘宝npm镜像地址: https://registry.npm.taobao.org VS中使用淘宝npm镜像, 需要以下两步: 步骤1. 修改npm config, 指向淘宝npm镜像, 有3种方法: 1.通过config命令
2017-09-22 14:22:23
19940
原创 bower install 错误 git is not installed or not in the PATH 解决方法
执行 bower install 时出现如下错误 : git is not installed or not in the PATH 出现此错误可能有两种原因: 1. 未安装 git 2. 已安装了git, 但是git的环境变量配置错误 解决方法: 第一种情况: 请安装 git , 并注意在安装的时候选择如下选项: Run Git from the Win
2017-03-29 11:28:46
3248
翻译 在ASP.NET中使用Log4NET's ADONetAppender的四个小技巧
4 Tips for using Log4NET's ADONetAppender in ASP.NET
2014-06-17 14:08:26
1262
原创 C# 使用oledb导出excel,字段内容超长的解决方法
使用oledb导出excel时,如果某个字段内容长度超过255个字符,会报如下错误: The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 代码如下: var connStr = "Provider=Microsoft.A
2013-05-28 16:26:40
3715
原创 c# System.Data.OleDb.OleDbException (0x80004005): Cannot expand named range
使用OleDb读写Excel时,遇到如下异常信息: System.Data.OleDb.OleDbException (0x80004005): Cannot expand named range 代码: var connStr = string.Format("provider = microsoft.ace.oledb.12.0;data source={0};Extended Pro
2013-05-20 12:47:23
2688
原创 c# 使用XmlTextReader拆分大文件
解析xml文件时,常遇到较大的xml文件,使用XmlDocument加载此文件会消耗大量内存, 这时可以使用XmlTextReader将大文件拆分成多个小文件,再使用XmlDocument加载。 xml 格式: Tempting Sin World Tempting Sin1 World
2013-04-01 15:15:13
1739
原创 使用aspnet_regsql.exe生成Memebership对应的数据库
如果想自己手动创建Memebership 对应的数据库会,可以使用 Aspnet_regsql.exe ASP.NET SQL Server Registration Tool (Aspnet_regsql.exe) 参考http://msdn.microsoft.com/en-us/library/ms229862(v=vs.100).aspx Aspnet_regsq
2013-01-15 15:28:16
1079
转载 [转] web向另一台server上传文件: access the path is denied
原文:http://stackoverflow.com/questions/10196811/directory-exists-not-working-for-a-network-path When you run the code in IIS it runs in the identity of the Application Pool which by default is the
2012-09-20 14:41:08
615
Hibernate 和 NHibernate资料
2008-08-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅