Select top 100 State,JoinState, (case when State=1 and Joinstate=0 then 2 when State=1 and JoinState=1 then 1 else 0 end) as usestate from UserInfo Read More
posted @ 2010-09-07 17:00 七郎 Views(227) Comments(0) Diggs(0) Edit
jxl.jar jxls-core-0.9.9.jar jxls-reader-0.9.9.jar poi-3.5-FINAL.jar(必须3.5以上的版本) 其他jar根据提示可以去 http://jarvana.com/jarvana/ 查找 // 生成excel 传入模板文件 要生成的内容 生成文件 返回生成文件的完整路径 public static String doExcel(Stri... Read More
posted @ 2010-09-07 15:36 七郎 Views(7716) Comments(0) Diggs(2) Edit
修改server.xml配置<Host> ................................加入 <Contextpath="/KBS"reloadable="false"docBase="E:\KBS\KBS\WebRoot" workDir="E:\KBS\KBS\WebRoot"/> </Host> Read More
posted @ 2010-09-07 15:18 七郎 Views(1182) Comments(0) Diggs(0) Edit