2011年7月20日

Access数据库分页查询

摘要: 不过这种方式对于大批量数据会很慢select top 每页条数 * from 表名 where [ID] not in (select top 每页条数*(页数-1) [ID] from 表名 order by [ID]) order by [ID]; 阅读全文

posted @ 2011-07-20 10:57 c语言源码 阅读(262) 评论(0) 推荐(0) 编辑

自己重写右键菜单

摘要: 在程序中我们会用到文本框,如果要让右键菜单按照我们的要求显示,可以用如下方法实现,自己定义Item控件来显示。 private const int WMS= 0x007B; protected override void WndProc(ref Message m) { if (m.Msg == WMS) { try { ContextMenu contextMenu = new C... 阅读全文

posted @ 2011-07-20 09:43 c语言源码 阅读(236) 评论(0) 推荐(0) 编辑

导航