摘要: 一、定义触发器 定义触发器的一般格式: create trigger <触发器名称> {before | after} <触发事件> on <表名> for each {row | statement} [when <触发条件>] <触发动作体>; 1.触发事件 触发事件可以是insert、dele 阅读全文
posted @ 2017-07-23 13:58 by-lhc 阅读(451) 评论(0) 推荐(0)
摘要: 一、建立索引 建立索引的一般格式: create [unique][cluster] index <索引名称> on <表名>(<列名>[<次序>][,<列名>[<次序>]]...); unique表明此索引的每一个索引值只对应唯一的数据记录; cluster表名要建立的索引是聚簇索引(聚簇索引查询 阅读全文
posted @ 2017-07-22 23:54 by-lhc 阅读(162) 评论(0) 推荐(0)
摘要: 1:source指向url url可以是任何一张网络上的图片; 2:source指向本项目的图片地址 pack://application:,,,/images/test.jpg 可以简写为:/images/test.jpg 3:source指向引用项目的图片地址 pack://applicatio 阅读全文
posted @ 2017-07-21 19:16 by-lhc 阅读(1156) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-07-20 18:26 by-lhc 阅读(7881) 评论(0) 推荐(0)
摘要: 1:image button样式 <Style x:Key="Button.File" TargetType="Button"> <Setter Property="Cursor" Value="Hand"></Setter> <Setter Property="Template" > <Sette 阅读全文
posted @ 2017-07-19 18:45 by-lhc 阅读(908) 评论(0) 推荐(0)
摘要: 1:icon button样式 <Style x:Key="IconButton" TargetType="{x:Type Button}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Ty 阅读全文
posted @ 2017-07-19 14:27 by-lhc 阅读(633) 评论(0) 推荐(0)