12 2013 档案

Sql Server2005新特性及性能
摘要:举几个例子来简单说明 这些例子我引用了Northwind库。1. TOP 表达式 SQL Server 2000的TOP是个固定值,是不是觉得不爽,现在改进了。 --前n名的订单declare @n int set @n = 10 select TOP(@n) * from Orders2. 分页 不知各位过去用SQL Server 2000是怎么分页的,大多都用到了临时表。SQL Server 2005一句话就支持分页,性能据说也非常不错。--按Freight从小到大排序,求20到30行的结果 select * from( select OrderId, Freight, R... 阅读全文

posted @ 2013-12-30 12:29 晨风清流 阅读(238) 评论(0) 推荐(0)

微信java封装
摘要:http://blog.csdn.net/lyq8479/article/details/8949088http://blog.csdn.net/lyq8479/article/details/9229631 阅读全文

posted @ 2013-12-25 08:39 晨风清流 阅读(167) 评论(0) 推荐(0)

解决PowerDesigner 生成Sql2005-2012 找不到sysproperties表的问题
摘要:造成此问题的原因是由于Sql 2005 删除了系统表 sysproperties 而改用 sys.extended_properties 表所致 ,微软的目的不再去猜测网上有二种解决方式 但不符合本人的需要 以下是通过创建sysproperties视图,以及改造powerdesigner sql语句生成模板实现本人直接用powerdesigner生成创建数据库SQL 方法实现简单,在此做个记录-------------------------------------------------Sql 2005 Exec the Sql 创建View 'sysproperties'- 阅读全文

posted @ 2013-12-15 14:44 晨风清流 阅读(332) 评论(0) 推荐(0)

ASP.net解析JSON例子
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.Script.Serialization; //导入解析Json的类public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { ... 阅读全文

posted @ 2013-12-12 13:10 晨风清流 阅读(3174) 评论(0) 推荐(0)

c# 遍历子控件,比如Form下的group,或者panel
摘要:方法很好用.目的是遍历所有容器的子控件... 方法1private void GetControl(Control.ControlCollection ctc, ref int checkNull) { foreach (Control ct in ctc) { if (ct is TextBox) { if (ct.Text.Length /// 设置此界面中控件的某些属性 /// /// ... 阅读全文

posted @ 2013-12-06 09:29 晨风清流 阅读(2930) 评论(0) 推荐(1)