摘要: //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)];//设置边框样式,只有设置了才会显示边框样式 text.borderStyle = UITextBorderStyleRoundedRect;typedef enum { UITextBorderStyleNone, UITextBorderStyleLine, UITextBorderStyleBezel, UITextBorderStyleRoundedRect } UI... 阅读全文
posted @ 2013-06-18 23:16 ygm900 阅读(273) 评论(0) 推荐(0)
摘要: 在几千条记录里,存在着些相同的记录,如何能用SQL语句,删除掉重复的呢?谢谢!1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断select*from peoplewhere peopleIdin (select peopleIdfrom peoplegroupby peopleIdhavingcount(peopleId)>1)2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录deletefrom peoplewhere peopleIdin (select peopleIdfrom peoplegroup 阅读全文
posted @ 2013-06-18 21:47 ygm900 阅读(203) 评论(0) 推荐(0)
摘要: extern NSString* const kCTSMSMessageReceivedNotification;extern NSString* const kCTSMSMessageReplaceReceivedNotification;extern NSString* const kCTSIMSupportSIMStatusNotInserted;extern NSString* const kCTSIMSupportSIMStatusReady; typedef struct __CTCall CTCall;extern NSString *CTCallCopyAddress(void 阅读全文
posted @ 2013-06-18 11:44 ygm900 阅读(553) 评论(0) 推荐(0)