ITeye博客

Design

共 2 篇文章

取色工具 ColorKey Xp

一个不错的取色工具,css专用 配色软件 ColorKey Xp 体验发布 http://www.blueidea.com/download/product/2003/627.asp

2010-03-31 15:11 · Design · CSS · ASP · XP

如何解决主键的连续自增

解决方案是采用文件暂存的方式。 从1开始到99后重新归一循环。 public int getSeqNo() throws IOException { int seqNo = 1; File file = new File("seqNo"); if (!file.exists()) { file.createNewFile(); } else { Scanner in = new Scanner(new FileReader(file)); if (in.hasNextInt()) { seqNo = in.nextInt(); if (seqNo < 99) { seqNo++; } els…

2009-07-06 09:49 · Design