摘要: 对TextBox设置输入事件: private void Num_PreviewTextInput(object sender, TextCompositionEventArgs e) { TextBox tb = (TextBox)sender; int count = tb.Text.Lengt 阅读全文
posted @ 2020-06-15 13:44 幸运(● ̄(エ) ̄●) 阅读(295) 评论(0) 推荐(0) 编辑
摘要: select t2.username, t2.sid, t2.serial#, t3.object_name, t2.OSUSER, t2.MACHINE, t2.PROGRAM, t2.LOGON_TIME, t2.COMMAND, t2.LOCKWAIT, t2.SADDR, t2.PADDR, 阅读全文
posted @ 2020-06-15 13:43 幸运(● ̄(エ) ̄●) 阅读(1963) 评论(0) 推荐(0) 编辑
摘要: -- Create tablecreate table CUXSHIFTORDERSTATUS_LOG( CUXGUID VARCHAR2(50), --唯一编码 CUXSHIFTORDER VARCHAR2(50),--班次任务单 CUXOLDSTATUS VARCHAR2(50),--班次任务单 阅读全文
posted @ 2020-06-15 13:42 幸运(● ̄(エ) ̄●) 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-15 13:40 幸运(● ̄(エ) ̄●) 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// 获取ip地址 3 /// </summary> 4 /// <returns></returns> 5 public string GetLocalIP() 6 { 7 try 8 { 9 string HostName = Dns.GetHostName 阅读全文
posted @ 2020-06-15 12:03 幸运(● ̄(エ) ̄●) 阅读(597) 评论(0) 推荐(0) 编辑
摘要: --查找数据库已建好的目录 :DATA_PUMP_DIRselect * from dba_directories; 导出expdp--directory=DATA_PUMP_DIR,导出文件存储的目录-- dumpfile=C5_A2_1.dmp,导出的文件名--TABLES=djxx,tjc01 阅读全文
posted @ 2020-06-15 12:01 幸运(● ̄(エ) ̄●) 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 按拼音排序: select * from 【表名】 order by nlssort( 【字段名】, 'NLS_SORT=SCHINESE_PINYIN_M' ); 阅读全文
posted @ 2020-06-15 11:58 幸运(● ̄(エ) ̄●) 阅读(707) 评论(0) 推荐(0) 编辑
摘要: TRUNC函数用于对值进行截断。 用法有两种:TRUNC(NUMBER)表示截断数字,TRUNC(date)表示截断日期。 (1)截断数字: 格式:TRUNC(n1,n2),n1表示被截断的数字,n2表示要截断到那一位。n2可以是负数,表示截断小数点前。注意,TRUNC截断不是四舍五入。 SQL> 阅读全文
posted @ 2020-06-15 11:22 幸运(● ̄(エ) ̄●) 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: 主要目的是使用javascript:window.open()对浏览器 iE6.0,7.0,8.0,chorme,safari,firefox能适用。刚开始的时候对最大化使用<a href="javascript:void window.open('https://www.sina. com.cn/ 阅读全文
posted @ 2020-06-12 10:24 幸运(● ̄(エ) ̄●) 阅读(1579) 评论(0) 推荐(0) 编辑
摘要: 使用命令运行python脚本 同样的可以用代码来实现 1 Process p = new Process(); 2 string path = System.Web.HttpContext.Current.Server.MapPath("../Python/0610.py"); ; 3 string 阅读全文
posted @ 2020-06-10 15:28 幸运(● ̄(エ) ̄●) 阅读(1090) 评论(0) 推荐(0) 编辑
Document