上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 39 下一页
摘要: 解决方法: 打开git 终端 #输入下面两句,并且替换成你的名字和邮箱 git config --global user.email "your@email.com" git config --global user.name "Your Name" 输入如下指令: 阅读全文
posted @ 2015-08-06 12:14 好学Ace 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: 本教程将讲述:gitk的Git Gui的部分常用功能和使用方法,包括:建库、克隆(clone)、上传(push)、下载(pull - fetch)、合并(pull - merge)。——————————————————————————————————————————————1、下载并安装 下载地址:... 阅读全文
posted @ 2015-08-06 12:10 好学Ace 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: 使用前文中描述的Retail示例,在Customer对象的Mapping中设置Name属性:我们构造一个有效的Customer对象,再构造一个无效的Name属性为空的对象。 DomainModels.Customer customer1 = new DomainModels.Customer()... 阅读全文
posted @ 2015-07-30 12:42 好学Ace 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1.如下错误:2.执行 如下代码 : netstat -aon|findstr "5037"3.打开任务管理器 找到PID 为 5536 的进程 将该进程关闭4.重启 Android studio 阅读全文
posted @ 2015-07-28 10:50 好学Ace 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.activity_main_fragment.xml 2.fragment1.xml 3.fragment2.xml 4.fragment3.xml 5.fragmen... 阅读全文
posted @ 2015-07-28 10:37 好学Ace 阅读(218) 评论(0) 推荐(0) 编辑
摘要: package mydemo.mycom.demo2.service;import org.apache.http.HttpResponse;import org.apache.http.NameValuePair;import org.apache.http.client.HttpClient;i... 阅读全文
posted @ 2015-07-28 10:29 好学Ace 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: 一、使用MVC中的Filter来对Session进行验证(1)方法1:public class MyAuthorizeAttribute : FilterAttribute, IAuthorizationFilter{ public void OnAuthorization(Authori... 阅读全文
posted @ 2015-06-19 10:40 好学Ace 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 最近在ASP.NET MVC项目中碰到这样的情况:在一个controller中设置了Session,但在另一个controller的构造函数中无法获取该Session,会报"System.NullReferenceException"错误。之所以这样做是因为希望在controller构造函数中获取S... 阅读全文
posted @ 2015-06-19 10:36 好学Ace 阅读(2454) 评论(2) 推荐(1) 编辑
摘要: 解决方式:sp_change_users_login 'update_one', '123456', '123456'update_one是存储过程的参数,表示只处理一个用户,前一个“123456”是“用户”,后一个“123456”是“登录”,以上这个SQL表示将服务器登录“123456”与Demo... 阅读全文
posted @ 2015-06-11 15:59 好学Ace 阅读(307) 评论(0) 推荐(0) 编辑
摘要: //新方法 entity framework 时间操作 query.Where(c => System.Data.Entity.DbFunctions.DiffDays(DateTime.Now, c.AddTime) == 0).Count();//比较天数 //当天用户//方法已经过时 var useractiveentity = db.UserActive.Where(u => u.Us... 阅读全文
posted @ 2015-06-10 08:37 好学Ace 阅读(1098) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 39 下一页