gate_s

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年7月4日

摘要: 这是一个简单好用的文本编辑器,支持多种配置,自定义颜色、字体、工具栏、快捷键设置,可以调整行距,避免中文排列过于紧密,具有选择文本列块的功能(按ALT 键拖动鼠标),并允许无限撤消、重做,总之功能多多,使用方便,是替代记事本又一不错的选择。下载地址:http://www.emeditor.com/pub/emed32_12.0.8.exe (32-bit installer)SHA1: 1D8C17D58C470C221F68030DD55E42518F32F242 size: 13,515,256 byteshttp://www.emeditor.com/pub/emed64_12.0.8. 阅读全文
posted @ 2013-07-04 15:00 gate_s 阅读(484) 评论(0) 推荐(0)

摘要: 功能:在删除主表时,自动删除副表(外键约束)相应内容删除包含主键值的行的操作,该值由其它表的现有行中的外键列引用。在级联删除中,还删除其外键值引用删除的主键值的所有行。如:create database tempgouse tempgocreate table UserInfo(UserId int identity(1,1) primary key ,UserName varchar(20), --用户名password varchar(20) not null --密码)create table UserDetails(id int identity(1,1) primary key,na 阅读全文
posted @ 2013-07-04 14:26 gate_s 阅读(865) 评论(0) 推荐(0)

摘要: 验证电话号码的主要代码如下: public bool IsTelephone(string str_telephone){ return System.Text.RegularExpressions.Regex.IsMatch(str_telephone, @"^(\d{3,4}-)?\d{6,8}$");}验证手机号码的主要代码如下:public bool IsHandset(string str_handset) { return System.Text.RegularExpressions.Regex.IsMatch(str_handset, @"^[1]+ 阅读全文
posted @ 2013-07-04 10:27 gate_s 阅读(349) 评论(0) 推荐(0)

摘要: 解决办法如下:=48)&&(event.keyCode 阅读全文
posted @ 2013-07-04 10:23 gate_s 阅读(370) 评论(0) 推荐(0)