08 2011 档案

摘要:一条sql 语句搞定数据库分页select top 10 b.* from (select top 20 主键字段,排序字段 from 表名 order by 排序字段 desc) a,表名 b where b.主键字段 = a.主键字段 order by a.排序字段 阅读全文
posted @ 2011-08-30 00:57 zhaolee 阅读(232) 评论(0) 推荐(0)
摘要:/// <summary> /// 将字符串转换为变量名 /// </summary> public partial class Form1 : Form { string str = "spp"; public string spp = "every good"; public Form1() { InitializeComponent(); MessageBox.Show(this.GetType().GetField(str).GetValue(this).ToSt... 阅读全文
posted @ 2011-08-08 23:53 zhaolee 阅读(1311) 评论(0) 推荐(0)