上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 29 下一页
摘要: EXEC sp_msforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL' --禁用EXEC sp_msforeachtable 'ALTER TABLE ? CHECK CONSTRAINT ALL' -- 启用 阅读全文
posted @ 2015-05-19 16:14 shiningrise 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 遇到了几次这个问题:Theconnectiontoadbisdown,andasevereerrorhasoccured.YoumustrestartadbandEclipse.Pleaseensurethatadbiscorrectlylocatedat'E:\setups\android\and... 阅读全文
posted @ 2015-05-16 10:08 shiningrise 阅读(344) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/slark/category/636030.html 阅读全文
posted @ 2015-04-20 08:29 shiningrise 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1、添加引用添加对 System.Net.Http , System.Net.Http.Formatting , System.Web.Http , System.Web.Http.Common , System.Web.Http.WebHost 的引用2、添加 Global Application... 阅读全文
posted @ 2015-03-14 08:12 shiningrise 阅读(993) 评论(1) 推荐(0) 编辑
摘要: Cannot attach the file 'D:\GitHome\cae\CAE\App_Data\membership.mdf' as database 'membership'.说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的... 阅读全文
posted @ 2014-12-04 09:32 shiningrise 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: http://shazwazza.com/post/Developing-a-plugin-framework-in-ASPNET-with-medium-trust.aspxJanuary 7, 2011 10:06 Tweet I’ve recently spent quite ... 阅读全文
posted @ 2014-11-30 21:54 shiningrise 阅读(492) 评论(0) 推荐(0) 编辑
摘要: namespace MyRepository.Domain.Infrastructure{ public class Repository : IRepository where TEntity : class { protected BookStoreDbContext ... 阅读全文
posted @ 2014-11-28 14:45 shiningrise 阅读(324) 评论(0) 推荐(0) 编辑
摘要: copy /Y "$(TargetDir)$(ProjectName).dll" "$(SolutionDir)PluginMvcWeb\Bin\"// 获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory@System.AppDomain.Cu... 阅读全文
posted @ 2014-11-11 13:56 shiningrise 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 使用 Assembly.LoadFile 加载程序集后 ,被加载的文件就会被锁定,之后就不能对其执行转移、删除等操作 为了解决次问题,我们可以先读取成字节流,然后转换成Assembly。代码如下:复制代码 public static Assembly LoadAssemblyFromFil... 阅读全文
posted @ 2014-11-03 08:42 shiningrise 阅读(305) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-10-31 11:03 shiningrise 阅读(1) 评论(0) 推荐(0) 编辑
摘要: nuget specnuget setApiKey yourkeynuget pack PluginMvc.Framework.csproj -Prop Configuration=Releasenuget push PluginMvc.Framework.0.1.0.0.nupkg 阅读全文
posted @ 2014-10-31 11:02 shiningrise 阅读(302) 评论(0) 推荐(0) 编辑
摘要: --> 阅读全文
posted @ 2014-10-31 09:56 shiningrise 阅读(330) 评论(0) 推荐(1) 编辑
摘要: // 获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory// 获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName// 获取和设置当前目录(该进... 阅读全文
posted @ 2014-10-30 10:34 shiningrise 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 修改字段名Exec sp_rename 'zxchem_Suggest.End_Date','Yj_Finish_Date','Column'修改字段长度Alter Table zxchem_Suggest Alter Column Yj_Finish_Date Varchar(10) Not Nu... 阅读全文
posted @ 2014-10-30 07:10 shiningrise 阅读(2703) 评论(0) 推荐(0) 编辑
摘要: echo offpath %SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe .\src\ElectricManagement.sln /t:Rebuild /p:Configuration=Release /p:VisualStu... 阅读全文
posted @ 2014-10-27 21:22 shiningrise 阅读(7413) 评论(1) 推荐(0) 编辑
摘要: 静态IP配置方法: 编辑/etc/network/interfaces,删掉内容,并输入以下几行(假设你的网卡是eth0)sudo gedit /etc/network/interfaces auto eth0iface eth0 inet static //指定为staticaddress 19... 阅读全文
posted @ 2014-10-27 09:29 shiningrise 阅读(478) 评论(0) 推荐(0) 编辑
摘要: public void JumpToSource(vsCMPart location = vsCMPart.vsCMPartNavigate) { TextPoint startPoint = Original.GetStartPoint(loca... 阅读全文
posted @ 2014-10-15 23:07 shiningrise 阅读(525) 评论(0) 推荐(0) 编辑
摘要: error MSB4019: 未找到导入的项目“C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets”This is very easy... 阅读全文
posted @ 2014-09-15 23:13 shiningrise 阅读(23061) 评论(1) 推荐(1) 编辑
摘要: private void UpdateConfigFile() { var cfg = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Request.Ap... 阅读全文
posted @ 2014-07-27 11:14 shiningrise 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 用于asp.net还原与恢复SqlServer数据库的KillSpid存储过程CREATE PROCEDURE KillSpid(@dbName varchar(20))ASBEGIN DECLARE @sql nvarchar(500) DECLARE @spid int ... 阅读全文
posted @ 2014-07-26 19:54 shiningrise 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 把那4个dll丢到C:\Windows\SysWOW64里去重启IIS,再测试 阅读全文
posted @ 2014-06-24 07:09 shiningrise 阅读(290) 评论(0) 推荐(0) 编辑
摘要: http://www.aliexpress.com/store/1086586 阅读全文
posted @ 2014-06-20 11:16 shiningrise 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 汉字用全角打,只有全角的中文输入回车才有用另外,菜单发布后,取消关注,退出微信,再进入微信,再关注,,菜单与改动内容可马上生效微信公众平台自带的预览不准 阅读全文
posted @ 2014-06-16 23:17 shiningrise 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 从教育学方面说,家长、老师、管理者要注意几点:第一,对学生和孩子不要过激处分,那要出大问题。第二,对学生和孩子不要总是说教,要设置问题情景,一定要让他体验。第三,必要的惩罚是教育的手段,惩罚之后要给他出路,要成全他。第四,要有足够的磨练,不要一味地惯着。从人才成长的角度,总的说要定慧双修,定力和智慧... 阅读全文
posted @ 2014-06-14 21:10 shiningrise 阅读(516) 评论(0) 推荐(0) 编辑
摘要: http://www.zen-cart.cn/http://www.ezencart.com/ 阅读全文
posted @ 2014-06-05 21:45 shiningrise 阅读(153) 评论(0) 推荐(0) 编辑
摘要: cmd批处理常用符号详解作者: 字体:[增加 减小] 类型:转载我们在批处理编写过程中经常遇到各种特殊符号,很多朋友不是很清楚cmd中特殊符号的含义,这里简单的介绍下,方便需要的朋友1、@一般在它之后紧跟一条命令或一条语句,则此命令或语句本身在执行的时候不会显示在屏幕上。请把下面的代码保存为test... 阅读全文
posted @ 2014-05-30 15:12 shiningrise 阅读(2464) 评论(0) 推荐(0) 编辑
摘要: 上下垂直居中 在线演示 DIVCSS5DIV水平居中和上下垂直居中DIVCSS5 阅读全文
posted @ 2014-05-20 17:38 shiningrise 阅读(205) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-05-15 08:41 shiningrise 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashfunction count() { local insert=0 local delete=0 while read line ;do current=`echo $line| awk -F',' '{printf $2}' | awk '{p... 阅读全文
posted @ 2014-05-15 07:35 shiningrise 阅读(1551) 评论(0) 推荐(0) 编辑
摘要: VS2012变化的快捷键:注释::VS2010是(Ctrl+E,C),VS2012是(Ctrl+K, Ctrl+C),实际操作,按住Ctrl键不放,先按K键,再按C键。相当于Ctrl+K加 Ctrl+C的组合键反註解:VS2010是(Ctrl+E,U),VS2012是(Ctrl+K, Ctrl+U)... 阅读全文
posted @ 2014-05-05 06:24 shiningrise 阅读(3846) 评论(0) 推荐(1) 编辑
摘要: sql 树 递归with SubQuery(No,Name,ParentNo) as ( select No,[Name],ParentNo from [Port_Dept] where No = '3' union all select A.No,A.Name,A.ParentNo... 阅读全文
posted @ 2014-04-23 21:20 shiningrise 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-11 14:58 shiningrise 阅读(477) 评论(0) 推荐(0) 编辑
摘要: https方式每次都要输入密码,按照如下设置即可输入一次就不用再手输入密码的困扰而且又享受https带来的极速设置记住密码(默认15分钟):git config --global credential.helper cache如果想自己设置时间,可以这样做:git config credential.helper 'cache --timeout=3600'这样就设置一个小时之后失效长期存储密码:git config --global credential.helper store补充:使用客户端也可以存储密码的。如果你正在使用ssh而且想体验https带来的高速,那么你可以这 阅读全文
posted @ 2014-04-04 21:09 shiningrise 阅读(1692) 评论(1) 推荐(0) 编辑
摘要: SELECT(case when a.colorder=1 then d.name else '' end) N'表名',a.colorder N'字段序号',a.name N'字段名',(case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end) N'标识',(case when (SELECT count(*)FROM sysobjectsWHERE (name in(SEL 阅读全文
posted @ 2014-02-20 20:47 shiningrise 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 进入mysql命令行connect wordpressdb;update wp_options set option_value='http://newip:newport/wordpress'where option_name='siteurl';update wp_options set option_value='http://newip:newport/wordpress'where option_name='home'; 阅读全文
posted @ 2013-05-23 20:20 shiningrise 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 2. 为网卡配置静态IP地址编辑文件/etc/network/interfaces:sudo vi /etc/network/interfaces并用下面的行来替换有关eth0的行:# The primary network interfaceauto eth0iface eth0 inet staticaddress 192.168.2.1gateway 192.168.2.254netmask 255.255.255.0#network 192.168.2.0#broadcast 192.168.2.255 阅读全文
posted @ 2013-05-23 20:02 shiningrise 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Cacls D:\cygwin /t /e /c /g "Administrator":fcd D:\cygwin del *.* /s/f/q 阅读全文
posted @ 2013-05-22 09:29 shiningrise 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 亲们,中国移动跨平台开发组件(英文简称UDE)有新动态咯咩\(^o^)/~本次最新版更新内容:进一步完善了可视化编辑器、GPS、陀螺仪等功能。增加了手机终端信息库、本地能力管理等新功能。最新整体安装:http://dev.10086.cn/appdown/cmcc_ude/final/CMCC_UDE_1.3.02.1618.exe说明:已安装过UDE的用户,如需升级到最新版本,请下载“插件更新包”(本次更新主要修改了本地能力管理功能、Android打包时SDK版本选择功能、以及可视化编辑器的部分控件删除时报错现象)。插件更新包下载:http://dev.10086.cn/appdown/cm 阅读全文
posted @ 2013-05-20 16:05 shiningrise 阅读(567) 评论(0) 推荐(0) 编辑
摘要: SQL数据库备份恢复助手-免安装、全兼容、多任务 http://t.cn/zYXxDXl @markhttp://sql.inethink.com/ 阅读全文
posted @ 2013-05-20 15:40 shiningrise 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-tw/ee818993.aspxhttps://npoi.codeplex.com/ 阅读全文
posted @ 2013-05-18 20:04 shiningrise 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 29 下一页
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css