07 2017 档案

摘要:一、创建示例表 CREATE TABLE TestTable ( name VARCHAR(10), skill VARCHAR(10) ); INSERT INTO TestTable VALUES ('张三', 'php'); INSERT INTO TestTable VALUES ('张三' 阅读全文
posted @ 2017-07-26 13:15 by-lhc 阅读(205) 评论(0) 推荐(0)
摘要:一、创建BoolVisibilityConverter类和OppositeVisibilityConverter类 BoolVisibilityConverter.cs OppositeVisibilityConverter.cs 二、创建MainButton用户控件 MainButton.xaml 阅读全文
posted @ 2017-07-25 15:23 by-lhc 阅读(430) 评论(0) 推荐(0)
摘要:一、创建BannerAD用户控件 一个Banner用户控件可以包含n个BannerAD用户控件,在此创建2个BannerAD用户控件作为示例; BannerAD1.xaml BannerAD1.xaml.cs BannerAD2.xaml BannerAD2.xaml.cs 二、创建BoolVisi 阅读全文
posted @ 2017-07-24 17:15 by-lhc 阅读(328) 评论(0) 推荐(0)
摘要:一、sql server分页查询 1.sql server 2012及以后 2.sql server 2005及以后 3.sql server 2005之前 二、mysql分页查询 三、oracle分页查询 阅读全文
posted @ 2017-07-23 21:38 by-lhc 阅读(186) 评论(0) 推荐(0)
摘要:1.创建存储过程 create procedure 过程名称 ([参数1,参数2,...]) as <pl/sql>; 2.重命名存储过程 alter procedure 过程名称1 rename to 过程名称2; 3.执行存储过程 call/perform procedure 过程名称 ([参数 阅读全文
posted @ 2017-07-23 15:05 by-lhc 阅读(234) 评论(0) 推荐(0)
摘要:一、定义触发器 定义触发器的一般格式: create trigger <触发器名称> {before | after} <触发事件> on <表名> for each {row | statement} [when <触发条件>] <触发动作体>; 1.触发事件 触发事件可以是insert、dele 阅读全文
posted @ 2017-07-23 13:58 by-lhc 阅读(461) 评论(0) 推荐(0)
摘要:一、建立索引 建立索引的一般格式: create [unique][cluster] index <索引名称> on <表名>(<列名>[<次序>][,<列名>[<次序>]]...); unique表明此索引的每一个索引值只对应唯一的数据记录; cluster表名要建立的索引是聚簇索引(聚簇索引查询 阅读全文
posted @ 2017-07-22 23:54 by-lhc 阅读(167) 评论(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 阅读(1163) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-07-20 18:26 by-lhc 阅读(7885) 评论(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 阅读(909) 评论(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 阅读(636) 评论(0) 推荐(0)