2016年8月22日

uploadifive使用笔记

摘要: 官网地址:http://www.uploadify.com/ uploadifive 是基于H5开发,所以支持移动端和PC端 public ContentResult UploadFile(string name){ string result = ""; string ename = ""; Ht 阅读全文

posted @ 2016-08-22 09:41 码农老K 阅读(802) 评论(0) 推荐(0) 编辑

如何实现MVC ActionResult 返回类型为JavaScriptResult

摘要: 必需的js引用文件 View页面 Controller if (string.IsNullOrEmpty(model.ReceiptNo) || string.IsNullOrEmpty(model.SavePath) || string.IsNullOrEmpty(model.PicPath)){ 阅读全文

posted @ 2016-08-22 09:30 码农老K 阅读(1236) 评论(0) 推荐(0) 编辑

2016年8月2日

串口通信

摘要: public System.IO.Ports.SerialPort BoundCom = new System.IO.Ports.SerialPort(); private StringBuilder BoundCombuilder = new StringBuilder();//避免在事件处理方法中反复的创建,定义到外面。 private bool CheckComPortScanner(st... 阅读全文

posted @ 2016-08-02 10:22 码农老K 阅读(192) 评论(0) 推荐(0) 编辑

WINSCP 使用笔记

摘要: 前期准备: 1.官网下载:http://winscp.net/eng/docs/lang:chs 官网C#示例:http://winscp.net/eng/docs/library#csharp 当然还有很多,自行选择 2.准备FTP站点 代码: 阅读全文

posted @ 2016-08-02 09:49 码农老K 阅读(2447) 评论(0) 推荐(0) 编辑

ASP.NET ZERO 学习 JTable的使用

摘要: View信息: Index.Js _CreateModal.cshtml _CreateModal.js 红色部门代表是Appliation方法,WebAPi 分页的写法: 阅读全文

posted @ 2016-08-02 09:32 码农老K 阅读(1199) 评论(1) 推荐(0) 编辑

2016年7月31日

ASP.NET ZERO 学习 导航菜单

摘要: 定义PageNames和PermissionName PageNames : Web/App_Start/Navigation/PageNames.cs PermissionName:Core/Authorization/AppPermissions.cs 设置权限: Core/Authorizat 阅读全文

posted @ 2016-07-31 10:36 码农老K 阅读(487) 评论(0) 推荐(0) 编辑

2016年1月21日

MSMQ方法整理

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2016-01-21 17:44 码农老K 阅读(11) 评论(0) 推荐(0) 编辑

2015年11月5日

完整的文件和目录操作类

摘要: using System;using System.Text;using System.IO; namespace HelloCsharp.Utilities{ /// /// 文件操作类 /// public static class DirFile { ... 阅读全文

posted @ 2015-11-05 22:14 码农老K 阅读(162) 评论(0) 推荐(0) 编辑

2015年5月28日

服务命令

摘要: sc delete "Spark-Dev-OneHR-File Import Service"sc delete "Spark-Dev-OneHR-Mail Merge Service"sc delete "Spark-Dev-OneHR-Queued Task Service"sc delete ... 阅读全文

posted @ 2015-05-28 14:42 码农老K 阅读(234) 评论(0) 推荐(0) 编辑

转PDF

该文被密码保护。 阅读全文

posted @ 2015-05-28 14:04 码农老K 阅读(5) 评论(0) 推荐(0) 编辑

导航