
epay
yhm2046
Be the change you want to see in the world
展开
-
epay29用arraylist生成二维数组
// 用arraylist生成二维数组 int a[] = { 7010, 7020 }; int b[] = { 7510, 7520 }; int c[] = { 8505, 8510 }; ArrayList list = new ArrayList(); list.add(a); list.add(b); list.add(c); // 转为二维数组 i原创 2013-01-29 10:22:49 · 1569 阅读 · 0 评论 -
epay-8 多表查询,一维数组怎么放入二维数组??
// 查询子项目 public String[][] getChildItems() { String childItems[][] = {}; String result = "", sql; PreparedStatement pstmt; ResultSet rest; // 连接数据库 DBUtil db = new DBUtil(); Connection con = d原创 2013-01-28 20:10:37 · 837 阅读 · 0 评论