05 2013 档案

摘要:var langCount = (from s in GetStudents()select s.Language).Distinct().Count();Response.Write(string.Format("<div class='result'>{0}</div>", langCount));#endregion#region 用Count()的Lambda表达式满足条件的元素个数Response.Write("<hr>用Count()得出查询结果的个数<br>");var age 阅读全文
posted @ 2013-05-24 10:04 11ge 阅读(430) 评论(0) 推荐(0) 编辑
摘要:1。html { height:100%; width:100%;background: #63bad8 url(/Content/img/bg.jpg) 50% 0px repeat-x;} 阅读全文
posted @ 2013-05-17 10:51 11ge 阅读(145) 评论(0) 推荐(0) 编辑
摘要:1.控制首页哪些分类不显示 {loop subcat(0,0,0,$siteid) $r} {php if($r['catid']==17)break;} {php $num++} <div class="box cat-area" {if $num%2!=0}style=" margin-right:10px"{/if}>2.避免首页分类显示重复<div class="content"> {php $pic_id=0} <!-- 图片文章id --> {pc:content act 阅读全文
posted @ 2013-05-14 10:32 11ge 阅读(350) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示