摘要: 索引是与表或视图关联的磁盘上结构,可以加快从表或视图中检索行的速度。 索引包含由表或视图中的一列或多列生成的键。 这些键存储在一个结构(B 树)中,使 SQL Server 可以快速有效地查找与键值关联的行。 表或视图可以包含以下类型的索引: 群集 聚集索引根据数据行的键值在表或视图中排序和存储这些 阅读全文
posted @ 2016-10-08 20:00 FredGrit 阅读(472) 评论(0) 推荐(0) 编辑
摘要: The Control Template defines the visual appearance of a control. All of the UI elements have some kind of appearance as well as behavior, e.g., Button 阅读全文
posted @ 2016-10-08 19:50 FredGrit 阅读(163) 评论(0) 推荐(0) 编辑
摘要: public static void SortByOddAndEven(int []arr) { for (int i = 0; i < arr.Length; i++) { for (int j = arr.Length - 1; j >= i; j--) { if (arr[i] % 2 == 阅读全文
posted @ 2016-10-08 18:59 FredGrit 阅读(815) 评论(0) 推荐(0) 编辑