当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: string ls_str ls_str=profilestring(sys_inifilename,server,server,) if trim(ls_str)="" then else if right(lower(sle_isql.text),8)<>isql.exe then/ ////////isql.ext是ms sql文件下的那个?用来干什......
    摘要: 一:既然rowsets这个接口已经能提供直接运行sql语句比如: rowset rset = new .... rset.setcommand("select * from x where...") rset.execute(); 为什么还要用 statement stmt=conn.createstatement(); stmt.executeupdate(sql);......


有关unicode,这段代码是怎么搞的

public   static   void   main(String   args[])  
  {  
  try  
  {  
  String   s="1";  
  System.out.println("len:   "   +   s.getBytes("unicode").length);  
   
  for   (int   i=0;   i<s.getBytes("unicode").length;   i++)  
  {  
  System.out.print(s.getBytes("unicode")[i]   +   "   ");  
  }  
  }  
  catch   (Exception   e)   {   System.err.println(e);}  
  }  
   
  len:   4  
  -1   -2   49   0  
   
  结果长度为什么是4,而不是2呢  
  -1,-2是怎么回事。  
  到底是怎么回事呀,谁能解释一下。

NO.1   作者: jijiwiwi

从实用的角度出发,把-1,-2删除就可以使用了,我就是这么做的,不过最好有高手来讲讲是怎么回事!


 ·如何操作oe的dbx文件    »显示摘要«
    摘要: http://www.csdn.net/develop/read_article.asp?id=18144 我订阅了新闻组,并采用全部下载的方式来收取新闻邮件,我想通过程序,一次性的将一些邮件中的图片附件从oe的dbx文件中读取到指定目录中进行保存(导出)。不知道该如何操作dbx文件,有没有这种文件的格式说明呢?如果能够提供源代码,更是感激不尽。 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE