![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
蓝
文章平均质量分 54
iteye_18181
这个作者很懒,什么都没留下…
展开
-
三步找回被删并清空了回收站的文件
没验证,转过来保存一下,有时可能会遇着。步骤: 1、单击“开始——运行,然后输入regedit (打开注册表)2、依次展开:HEKEY——LOCAL——MACHIME/SOFTWARE/microsoft/WINDOWS/ CURRENTVERSION/EXPLORER/DESKTOP/NAMESPACE 在左边空白外点击“新建”,选择:“主键”,把它命名为“5FFO4...原创 2009-10-31 14:49:29 · 63 阅读 · 0 评论 -
JAVA数据库连接总结
1、Oracle8/8i/9i数据库(thin模式) Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为数据库的SID String user="test"; St...原创 2010-08-02 14:49:52 · 176 阅读 · 0 评论 -
ext js length
Ext.form.TextField 的 maxLength/size 处理的并不是很好设置了maxLength后还是可以任意输入,国外extjs论坛看到有人的帖子,通过prototype重定义这两个属性,试了一下,很有效 // Textfield ignores size attribute of text.. Ext.form.TextField.proto...2010-03-01 10:32:17 · 110 阅读 · 0 评论 -
Clock
var ClockClass = { //初始化表盘 ClockInit: function() { var numberArray = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; //...原创 2010-02-10 15:47:47 · 135 阅读 · 0 评论 -
代码规范
一. 编码风格规范 代码命名规范采用Sun命名规范。代码布局规范采用MyEclipse建议(Source->Format)。每个java类长度不得超过1000行;大型类需要备案。二. 编程规范 代码中禁止出现System.out/System.err调用代码中任何对HttpSession的引用和使用必须备案代码中关键位置需要书写完整的注释,包括:代码的作用,适用返回,特...原创 2010-02-05 09:17:32 · 74 阅读 · 0 评论 -
select
function changeLanguage(){ var lang = document.getElementById("language").value; if(lang == "zh"){ window.location.href ="/index.jsp?lang="+lang; }else{ window.location.hr...原创 2010-01-08 10:01:16 · 64 阅读 · 0 评论 -
ext js动态加载checkbox的值及取值方法
DoctorWorkStation_CommonDoctorAdvice.CreateYZCheckBoxWin = function(store, colnum,title) { var count = store.getCount(); var myCheckboxItems = []; for (var i = 0; i < count; i+...原创 2010-01-07 10:27:04 · 126 阅读 · 0 评论 -
js 中的map
Array.prototype.remove = function(s) { for (var i = 0; i < this.length; i++) { if (s == this[i]) this.splice(i, 1); }}function Map() { /** 存放键的数组(遍历用到) */ this.keys = new Array();...原创 2010-01-07 10:22:41 · 59 阅读 · 0 评论 -
annotation解释
1 annotation是一种特殊的interface(@interface),成员用函数表示,使用时用成员=值列表表示,值可为String,primitive type,数组,enum2 Deprecated/Override/SuppressWarnings 是三个@interface,Target,Retention也是。Hibernate Annotation中的 Entity,Tab...2009-12-17 09:25:49 · 76 阅读 · 0 评论 -
annotation
package com.gelc.annotation.demo.reflect; import java.lang.annotation.Annotation;= import java.lang.reflect.Method; public class AnnotationIntro { public static void main(String[] ar...2009-12-16 21:03:29 · 62 阅读 · 0 评论 -
SQL语句inner join,left join ,right join连接的不同之处
表A记录如下: aID aNum 1 a20050111 2 a20050112 3 a20050113 4 a20050114 5 a20050115 表B记录如下: bID bName 1 20060...原创 2011-02-25 14:30:26 · 73 阅读 · 0 评论