2011年3月30日
摘要: 外键约束alter table 表名 add constraint 约束名 foreign key (你的外键) references (表名)(字段名);sql数据库时间查询代码第一种set statistics time on--sql 执行 语句set statistics time off第二种declare @dt datetimeset @dt=getdate()--sql 执行语句select [执行时间(ms)]=datediff(ms,@dt,getdate()) 阅读全文
posted @ 2011-03-30 17:45 可惜我是程序员. 阅读(191) 评论(1) 推荐(1) 编辑
摘要: 一.MailAddress类 命名空间:System.Net.Mail; 构造函数:MailAddress(String) 使用指定的地址初始化 MailAddress 类的新实例。 MailAddress(String, String) 使用指定的地址和显示名初始化 MailAddress 类的新实例。 MailAddress(String, String, Encoding) 使用指定的地址、显示名和编码初始化 MailAddress 类的新实例。 属性:Address 获取创建此实例时指定的电子邮件地址。DisplayName 获取由创建此实例时指定的显示名和地址信息构成的显示名。Hos 阅读全文
posted @ 2011-03-30 11:48 可惜我是程序员. 阅读(181) 评论(0) 推荐(1) 编辑