码迷,mamicode.com
首页 >  
搜索关键字:touch id    ( 72604个结果
MVC验证13-2个属性至少输入一项
有时候,我们希望2个属性中,至少有一个是必填,比如: using Car.Test.Portal.Extension; namespace Car.Test.Portal.Models { public class Person { public int Id { get; set; } publi...
分类:Web程序   时间:2014-05-07 19:38:45    阅读次数:518
DataTable - Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints
solution1.Tick the primary key 1.right click on the Id of the entity in dataset schema. 2.Edit Key 3.Tick the Primary Key
分类:其他好文   时间:2014-05-07 19:18:56    阅读次数:362
[转载]Android Bitmap和Canvas学习笔记
http://blog.chinaunix.net/uid-20771867-id-3053339.html
分类:移动开发   时间:2014-05-07 19:15:43    阅读次数:369
MySQL DB 主从复制之SSL
需求架构准备工作主从服务器时间同步# 主从服务器同时配置crontab任务,与NTP服务器同步时间即可*/5 * * * * ntpdate 172.16.0.1 &>/dev/null部署配置主库配置vi /etc/my.cnf server-id = 1 # 在复制架构中,需保持全局唯一 ...
分类:数据库   时间:2014-05-07 18:47:42    阅读次数:509
mysql 行号 获取指定行数据
mysql 行号的实现Select id,(@rowNum:=@rowNum+1) as rowNoFrom first,(Select (@rowNum :=0) ) bOrder by first.id Desc这样就可以实现mysql 的行号 获取指定行的数据可以使用limit具体的使用如下:...
分类:数据库   时间:2014-05-07 18:24:17    阅读次数:576
PHP (20140505)
数据库表与表之间的连接是用id联系。join on;
分类:Web程序   时间:2014-05-07 10:27:35    阅读次数:230
fork小续
pid_t pid = fork();1.根据fork的返回值区分父子进程:fork 函数返回两次, >0 表示父进程,返回值为子进程ID; =0 表示子进程; 。所以,在fork()之后,我们一般执行:waitpid(pid,NUL,0); 参数1: pid表示到等待的子进程ID 参数2: N.....
分类:其他好文   时间:2014-05-07 10:25:35    阅读次数:276
ASP.NET页面请求相关常用
Request下获取Url所有相关属性测试的url地址是http://www.cnblogs.com/dachie/default.aspx?id=1Request.Url.ToString():http://www.cnblogs.com/dachie/default.aspx?id=1Reque...
分类:Web程序   时间:2014-05-07 10:21:40    阅读次数:335
SPUser的操作
处理Sharepoint中的SPListItem时,有时需要获得这个对象的"Created By"(创建者),并且希望是SPUser类型,而不是string,这样可以进而得到该用户的权限、ID等等。 "Person or Group"(用户或组)对应的类型是SPFieldUser,怎么把SPFiel...
分类:其他好文   时间:2014-05-07 10:13:36    阅读次数:324
程序清单8-3 8-4 演示不同的exit值
1 //http://blog.chinaunix.net/uid-24549279-id-71355.html 2 /* 3 ============================================================================ 4 Name...
分类:其他好文   时间:2014-05-07 09:32:18    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!