上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页

2016年11月5日

用复制方式创建表 Create Table tbname as select * from user.tab where ...

摘要: 用复制方式创建表 Create Table tbname as select * from user.tab where ... 阅读全文

posted @ 2016-11-05 15:11 mol1995 阅读(859) 评论(0) 推荐(0) 编辑

2016年10月18日

利用谓词实现List<>的Find等高级操作

摘要: public class Person { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } private void button1_Click(object se 阅读全文

posted @ 2016-10-18 12:48 mol1995 阅读(307) 评论(0) 推荐(0) 编辑

2016年10月17日

2016.10.17监控本程序占用内存情况

摘要: string ccs = string.Format("共用内存:{0}M", GC.GetTotalMemory(true) / 1024 / 1024); 阅读全文

posted @ 2016-10-17 15:32 mol1995 阅读(190) 评论(0) 推荐(0) 编辑

程序中打开IE浏览器并访问指定地址

摘要: 最简单的方法 Process.Start("iexplore.exe"); //直接打开IE浏览器(打开默认首页) Process.Start("iexplore.exe", "http://www.baidu.com"); //直接打开IE浏览器,打开指定页 1、首先,需要添加com组件的引用 加 阅读全文

posted @ 2016-10-17 15:16 mol1995 阅读(754) 评论(0) 推荐(0) 编辑

2012-06-25创建数据库函数的基本语法

摘要: create or replace function minday (sid varchar2, npr number) //参数不能具体写变量类型,如number(5,2)return number is md number(5,2); //返回结果要明确类型和精度 //定义数组型变量类型,因为s 阅读全文

posted @ 2016-10-17 14:46 mol1995 阅读(464) 评论(0) 推荐(0) 编辑

2012-06-25 基本调整数据库结构方法

摘要: --删除添加一个或多个字段 alter table jb add (sx varchar2(10), gb number(10), pr number(5,2)) --删除字段alter table jb drop column gb --更改字段类型alter table jb modify lr 阅读全文

posted @ 2016-10-17 14:41 mol1995 阅读(139) 评论(0) 推荐(0) 编辑

2016.1.22 扩充临时表空间解决ora-01652错误

摘要: 今天运行一个复杂查询时报错ora-01652 无法通过128 扩展temp段, 网上说是临时表空间大小不够,运行了脚本调整临时表空间,问题解决 alter database tempfile '/app/administrator/oradata/orcl/CADDATATMP.dbf' resiz 阅读全文

posted @ 2016-10-17 14:37 mol1995 阅读(270) 评论(0) 推荐(0) 编辑

2013-10-6 datagridview实现换行并自动设置行高

摘要: datagridview设置换行,如下,文本设置\r\n即可换行 dv4.DefaultCellStyle.WrapMode = DataGridViewTriState.True; dv4.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCel 阅读全文

posted @ 2016-10-17 14:26 mol1995 阅读(256) 评论(0) 推荐(0) 编辑

2013-10-5服务的启动和调试

摘要: 服务的启动: cmd cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ installutil 路径.exe 服务的注销: installutil /u 路径.exe 调用服务程序目录,请用System.AppDomain.CurrentDomain 阅读全文

posted @ 2016-10-17 14:25 mol1995 阅读(143) 评论(0) 推荐(0) 编辑

2016年10月15日

2013-7-22 确定鼠标与控件位置关系

摘要: Rectangle rect1 = panel1.Bounds; rect1 = MF.mf.RectangleToScreen(rect1); if (rect1.Contains(MousePosition))... // MousePosition是鼠标绝对位置,所有控件的边界必须用顶级父窗口 阅读全文

posted @ 2016-10-15 19:18 mol1995 阅读(221) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页

导航