上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: 在自己的主機上透過 Visual Studio 2013 與 IISExpress 開發與測試都還正常,但只要部署到測試機或正式機,就是沒辦法順利執行,卡關許久之後找我協助。我發現錯誤訊息確實很「一般」,訊息是:「 無法載入檔案或組件 'LinqToExcel' 或其相依性的其中之一。 試圖載入格式 阅读全文
posted @ 2016-11-25 08:54 晓明的哥哥 阅读(497) 评论(0) 推荐(1)
摘要: MessageBoxResult dr = MessageBox.Show("是否在"+ConfigHelper.GetAppSetting("SourceDBName") +"库执行sql", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Que 阅读全文
posted @ 2016-11-24 21:04 晓明的哥哥 阅读(6138) 评论(0) 推荐(0)
摘要: 所有cs端工具集成了一个工具面板 -打开(IE) Map工具系列-01-Map代码生成工具说明 Map工具系列-02-数据迁移工具使用说明 Map工具系列-03-代码生成BySQl工具使用说明 Map工具系列-04-SQL合并执行工具 Map工具系列-05-添加业务参数工具 Map工具系列-06-销 阅读全文
posted @ 2016-11-24 14:08 晓明的哥哥 阅读(1405) 评论(0) 推荐(2)
摘要: /// /// 执行CMD语句 /// /// 要执行的CMD命令 public string RunCmd(string cmd) { proc.StartInfo.CreateNoWindow = true; proc.StartInfo.FileName ... 阅读全文
posted @ 2016-11-23 21:35 晓明的哥哥 阅读(3618) 评论(0) 推荐(0)
摘要: string infile = @"C:\Users\yudm\Desktop\test\Patch.sql"; Process sqlprocess = new Process(); sqlprocess.StartInfo.FileName = "osql.exe"; sqlprocess.StartInfo.Argu... 阅读全文
posted @ 2016-11-23 21:14 晓明的哥哥 阅读(2457) 评论(0) 推荐(0)
摘要: 1,创建数据库的时候记得选择中文的 2,更新中文的时候记得加上N 阅读全文
posted @ 2016-11-22 17:46 晓明的哥哥 阅读(918) 评论(0) 推荐(0)
摘要: DECLARE @str AS VARCHAR(25)='123_234_567' select substring(@str,1,LEN(@str)-CHARINDEX('_',reverse(@str))) 输出 123_234 DECLARE @str AS VARCHAR(25)='123_ 阅读全文
posted @ 2016-11-22 16:14 晓明的哥哥 阅读(4958) 评论(0) 推荐(1)
摘要: 利用ng-app可以完成自动加载,如果不利用ng-app。那么使用bootstrarp实现手动加载模块 阅读全文
posted @ 2016-11-22 15:31 晓明的哥哥 阅读(540) 评论(0) 推荐(1)
摘要: alert(Math.ceil(25.9)); //26 alert(Math.ceil(25.5)); //26 alert(Math.ceil(25.1)); //26 alert(Math.round(25.9)); //26 alert(Math.round(25.5)); //26 alert(Math.round(25.1)); //25 alert(Math.floor(25.9)... 阅读全文
posted @ 2016-11-22 15:27 晓明的哥哥 阅读(372) 评论(0) 推荐(1)
摘要: 1,问题 在mvc验证的时候怎么自定义验证action?比如说验证用户名是否重复。 2.解决方法 通过remote 的特性 第一参数是对应的action 第二个对应的是controller controller 中的的方法 通过返回 true. 阅读全文
posted @ 2016-11-20 10:26 晓明的哥哥 阅读(269) 评论(0) 推荐(2)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页