摘要: 首先打开vs2010命令工具(tools),以管理员方式运行找到工具路径地址,如:命令如下:corflags root /32BIT+即可如下:C:\ProgramFiles(x86)\MicrosoftVisualStudio10.0\VC>corflagsF:\work\edmgen\edmgen2.exe/32BIT+ 阅读全文
posted @ 2013-01-22 17:41 海之澜 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 错误提示:未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序。说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.InvalidOperationException: 未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序。 百度了好久才找到解决方法下载2007 Office system 驱动程序:数据连接组件安装http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4 阅读全文
posted @ 2013-01-04 15:42 海之澜 阅读(377) 评论(0) 推荐(0) 编辑
摘要: public static class JsonHelper { /// <summary> /// JSON序列化 /// </summary> public static string JsonSerializer<T>(T t) { //so DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(T)); MemoryStream ms = new Memory... 阅读全文
posted @ 2012-12-13 18:04 海之澜 阅读(298) 评论(0) 推荐(0) 编辑
摘要: private int[] GetIntArrayFromStr(string historyLeaderId) { var strArray= !string.IsNullOrEmpty(historyLeaderId) && historyLeaderId.Contains(",") ? historyLeaderId.Split(',') : new string[2] {"0", "0"}; return Array.ConvertAll<string, int>(strArray, 阅读全文
posted @ 2012-12-10 16:01 海之澜 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 解决办法,oracle没有定义增量 阅读全文
posted @ 2012-11-23 14:00 海之澜 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: <div style="text-align: left;"> &nbsp;&nbsp;&nbsp;注:部门基准分:<label style="color:Red">80</label>分 &nbsp;&nbsp;&nbsp;部门考评分:<label style="color:Red">100</label>分 </div><div style="text-align: left;"> 阅读全文
posted @ 2012-11-07 14:57 海之澜 阅读(388) 评论(0) 推荐(0) 编辑
摘要: --Oracle数据库操作中,我们有时会用到锁表查询以及解锁和kill进程等操作,那么这些操作是怎么实现的呢?本文我们主要就介绍一下这部分内容。--锁表查询的代码有以下的形式:select count(*) from v$locked_object;select * from v$locked_object;--查看哪个表被锁Sql代码select b.owner,b.object_name,a.session_id,a.locked_modefrom v$locked_object a,dba_objects bwhere b.object_id = a.object_id;--查看是哪个s 阅读全文
posted @ 2012-10-23 14:26 海之澜 阅读(385) 评论(1) 推荐(0) 编辑
摘要: 写在最前面本文介绍了如何利用HTML5技术来打造一款非常酷的斯诺克桌球游戏,文章中详细地列出了开发的全过程,并解说了实现这个游戏的几个关键点。在文章末尾我向大家提供了游戏的在线实例页面和源码下载链接,如果你只是想玩玩(需要使用支持HTML5的浏览器,建议使用Chrome 12, Internet Explorer 9 或者 Fire Fox 5及其以上版本),那你可以跳过正文拉到页面最底端去玩玩那个游戏或者下载源码,但我建议你好好看看实现过程,对我们学习HTML5非常有帮助。另外,译文允许转载,但请在页面明显处标明以下信息:英文原文:Html5 Snooker Club 译文作者:王国峰 译文 阅读全文
posted @ 2012-10-15 23:07 海之澜 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误:未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”。 原因:这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework 3.5 WCF HTTP 激活,则会发生此错误。解决办法:微软官方对该问题也作了解答:http://ms 阅读全文
posted @ 2012-10-12 12:19 海之澜 阅读(509) 评论(0) 推荐(0) 编辑
摘要: Using the LINQ to SQL Debug VisualizerOne of the nice development features that LINQ to SQL supports is the ability to use a "debug visualizer" to hover over a LINQ expression while in the VS 2008 debugger and inspect the raw SQL that the ORM will ultimately execute at runtime when evaluat 阅读全文
posted @ 2012-10-12 11:15 海之澜 阅读(552) 评论(0) 推荐(0) 编辑