上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: Index.cshtml@using PagedList.Mvc@model PagedList.StaticPagedList@{ ViewBag.Title = "分享"; Layout = "~/Views/Shared/_Layout.cshtml"; Random rd ... 阅读全文
posted @ 2014-07-04 10:32 xuxu_dragon 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: USE [NationalUnion]GO/****** Object: StoredProcedure [dbo].[proc_DataSummary] Script Date: 07/03/2014 15:33:11 ******/SET ANSI_NULLS ONGOSET QUOTE... 阅读全文
posted @ 2014-07-03 17:44 xuxu_dragon 阅读(702) 评论(0) 推荐(0) 编辑
摘要: alter proc proc_DataSummaryasbegin begin try begin tran --PV --统计的信息存入临时表 select SharedUserID,PlatformID,CO... 阅读全文
posted @ 2014-06-30 17:07 xuxu_dragon 阅读(4610) 评论(2) 推荐(0) 编辑
摘要: Code.csusing System;using System.Collections.Generic;using System.Drawing;using System.Drawing.Drawing2D;using System.Drawing.Imaging;using System.IO;... 阅读全文
posted @ 2014-06-12 15:05 xuxu_dragon 阅读(1354) 评论(0) 推荐(0) 编辑
摘要: 接上一篇瀑布流代码,简洁版的功能之上添加分页的功能完整的版本:瀑布流代码 带分页Index.cshtml@using PagedList.Mvc@model PagedList.StaticPagedList@{ ViewBag.Title = "瀑布流"; Layout... 阅读全文
posted @ 2014-06-11 17:55 xuxu_dragon 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: 最近想实现数据的延迟加载,网上找一下有很的列子,看了Masonry的例子启发,自己写了一个很简单的例子(仅限于每列的宽固定高一致,并不算是真正意义的瀑布流)。完整版:瀑布流代码 带分页View页面。@{ ViewBag.Title = "瀑布流"; Layout = "~... 阅读全文
posted @ 2014-06-11 10:38 xuxu_dragon 阅读(1252) 评论(0) 推荐(0) 编辑
摘要: public class Article { [Key] public int ID { get; set; } public string Title{get;set;} public int AuthorssID { get; set; } public Author Author { get... 阅读全文
posted @ 2014-06-09 15:21 xuxu_dragon 阅读(233) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace PagedList.MVCWeb.Controllers{ publi... 阅读全文
posted @ 2014-06-09 10:58 xuxu_dragon 阅读(604) 评论(0) 推荐(0) 编辑
摘要: 此原因是不小心按错了键盘上的组合键Ctr+E+S,再次按Ctr+E+S可消除。 阅读全文
posted @ 2014-06-05 18:47 xuxu_dragon 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 减少磁盘I/O和逻辑读次数的最佳方法之一就是使用索引,索引允许SQLSERVER在表里查询数据而不需要扫描整个表。 当没有聚簇索引存在以建立数据的存储顺序时,存储引擎将简单地遍历整个表以查找所需要的。没有聚簇索引的表被称为堆表(Heaptable) 一个页面的空间有限,所以一行包含的列数越少,它就能保存越多的行。非聚簇索引通常不包含所表列,它一般只包含有限数量的列,因此一个页面将能包含比表行本身更多行的非聚簇索引。因此,SQLServer能够从表现一个非聚簇索引的页面中读到比从表现包含该列的表的页面上更多的值。 非聚簇索引的好处是,它有一个独立于数据表的结构,所以可以被放置在不同的文... 阅读全文
posted @ 2014-04-04 15:07 xuxu_dragon 阅读(308) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页