摘要: //以下代码没有声明List tempList = new ArrayList(); ResultSet rs = null; String cols_name = "";//根据sql语句得到ResultSet后变量都声明了就可以正常运行//依赖包资源import java.text.DecimalFormat;//import java.sql.*;//import java.util.*;int count=0;DecimalFormat myFormatter = new DecimalFormat("0.##");//将数字格式化为保留小数点两 阅读全文
posted @ 2012-11-22 22:36 horizon~~~ 阅读(1725) 评论(0) 推荐(0)