上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: Error info:Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.Solution:This is becauseMicrosoft.Web.Infrastructureis not in your GAC. You need 阅读全文
posted @ 2014-04-02 13:36 Vincent.Dr 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 配置错误 不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。配置文件\\?\X(盘符):\目录名\目录名\web.config 配置源 104: 105: '//(这里红色标记) 106: 出现这个错误是因为 IIS 7 采用了更安全的 web.config 管理机制,默认情况下会锁住配置项不允许更改。 阅读全文
posted @ 2014-04-01 19:30 Vincent.Dr 阅读(359) 评论(0) 推荐(0) 编辑
摘要: Ctrl+E,D ----格式化全部代码 Ctrl+E,F ----格式化选中的代码 CTRL + SHIFT + B生成解决方案 CTRL + F7 生成编译 CTRL + O 打开文件 CTRL + SHIFT + O打开项目 CTRL + SHIFT + C显示类视图窗口 F4 显示属性窗口 SHIFT + F4显示项目属性窗口 CTRL + SHIFT + E显示资源视图 F12 转到定义 CTRL + F12转到声明 CTRL + ALT + J对象浏览 CTRL + ALT + F1帮助目录 CTRL + F1 动态帮助 F1 帮助 SHIFT + F1当前窗口帮助 CTRL + 阅读全文
posted @ 2014-03-24 17:05 Vincent.Dr 阅读(16224) 评论(0) 推荐(1) 编辑
摘要: CsvFileStream.cspublic class CsvFileStream { TextReader stream; bool EOS = false; bool EOL = false; public CsvFileStream(TextReader s) { stream = s; } public string[] GetNextRow() { ArrayList row = new ArrayList(); ... 阅读全文
posted @ 2014-03-14 15:24 Vincent.Dr 阅读(252) 评论(0) 推荐(0) 编辑
摘要: public class HttpWebResponseUtility { public static string CreateGetHttpResponse(string url) { var response = CreateGetHttpResponse(url, null); Stream dataStream = response.GetResponseStream(); StreamReader reader = new StreamReader(dataStream); ... 阅读全文
posted @ 2014-03-14 15:12 Vincent.Dr 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Info from :http://www.cnblogs.com/yugen/archive/2010/08/18/1802781.html1、用字符串分隔:usingSystem.Text.RegularExpressions;stringstr="aaajsbbbjsccc";string[]sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach(stringiinsArray)Response.Write(i.ToString()+"");输出结果:aaabbb 阅读全文
posted @ 2014-03-07 16:43 Vincent.Dr 阅读(226) 评论(0) 推荐(0) 编辑
摘要: We need to configure Timestamp in Mapping.eg.Map(x => x.ResponseDate).CustomType("Timestamp"); 阅读全文
posted @ 2014-03-07 12:26 Vincent.Dr 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Info from :http://www.csharpwin.com/csharpspace/6253r7952.shtml本例子主要是介绍如何在 C#开发WinForm中加入一个组件,如果你想在窗体中加入任何组件,首先,你必须要初始化这个组件(见下面程序中初始化Label一样)。并且使用"Controls.Add"方法加入到窗体中,以下是程序运行的界面和源代码。 C#开发WinForm源程序:using System;using System.Windows.Forms;using System.Drawing;public class Form3 : Form{ // 阅读全文
posted @ 2014-03-04 16:51 Vincent.Dr 阅读(2173) 评论(0) 推荐(0) 编辑
摘要: 两种方法:1.Rectangle rect = Screen.GetWorkingArea(this);int width = rect.Width;int height = rect.Height;2.Rectangle rect = System.Windows.Forms.SystemInformation.VirtualScreen;int width = rect.Width;int height = rect.Height; 阅读全文
posted @ 2014-03-02 10:32 Vincent.Dr 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 来自:http://www.cnblogs.com/sodacc/archive/2012/11/26/2789135.html第一次用SQL给SSIS包排JOB的时候,都会遇到这样一个问题:单独执行包的时候都成功了,但是放在JOB里执行的时候会报错,如果查看作业的历史记录的话,可看到大都是因为权限的问题,这个问题大致有几个解决方法,无非都是将配置写在包中,这样就不会出现用sql Agent代理账户读取时没有权限的问题了,现在给出一个我一直用的方式:1、将SSIS切换到控制流页签,右击属性,将ProtectionLevel 设置为EncryptSensitiveWithPassword,并在P 阅读全文
posted @ 2014-01-23 11:25 Vincent.Dr 阅读(880) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页