自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

原创 sql统计查询

select stuid as 学号,name as 姓名,   sum(case when subject=语文 then score else 0 end) as 语文,   sum(case when subject=数学 then score else 0 end) as 数学,   sum(case when subject=英语 then score els

2009-06-20 23:42:00 992

原创 java以流的形式写数据到Oracle的clob字段。

public void importMoban(TrainTest test) {  String testDesc = test.getTestDesc2();  String answer = test.getAnswer2();  Session s = getHibernateTemplate().getSessionFactory().openSession();  Transactio

2009-06-20 23:38:00 877

原创 Clob类型中读写数据

 /***  *   * 2009-4-21  * Administrator  * @param clob  * @return  * @throws Exception  * @说明:从clob类型中读取数据  */ public String ReadDataFromClob(Clob clob) throws Exception {  StringBuffer content = new

2009-06-20 23:36:00 657

原创 Oracle的Clob字段设置为String类型

 public List testClobHelper(List list) throws Exception{  DAOUtils util = new DAOUtils();  String description = "";  String answer ="";  /**将Clob字段设置为String类型,便于界面展示*/  for (TrainTest test : list) {  

2009-06-20 23:35:00 821

原创 js取select的text值

 function chk(){  var obj = document.getElementById("sel");  var strsel = obj.options[obj.selectedIndex].text;  if (confirm("确定要选择"+strsel+"吗?")){  }else{  } } a001 a002 a003

2009-06-20 23:32:00 608

原创 考试倒计时计时器

  var  timer = setInterval("CountDown()",1000);     var maxtime = $("#mytime").val()*60;  //一个小时,按秒计算,自己调整!  function CountDown(){    if(maxtime>=0){     minutes = Math.floor(maxtime/60);     seconds

2009-06-20 23:30:00 1092

原创 利用Javascript取和设FCKeditor值

// 获取编辑器中HTML内容function getEditorHTMLContents(EditorName) {     var oEditor = FCKeditorAPI.GetInstance(EditorName);     return(oEditor.GetXHTML(true)); }// 获取编辑器中文字内容function getEditorTextContents(E

2009-06-20 23:29:00 1253

原创 设置fckeditor为只读

//设置fckeditor为只读function FCKeditor_OnComplete(editorInstance)    {        editorInstance.EditorDocument.body.disabled = true;        editorInstance.EditorWindow.parent.document.getElementById         

2009-06-20 23:27:00 6033 3

软件工程国家标准文档

国标的软件工程各种文档,标准版,规范话软件项目必备。

2011-09-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除