上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 33 下一页
摘要: 下载地址 阅读全文
posted @ 2012-08-02 11:16 天纯蓝 阅读(119) 评论(0) 推荐(0) 编辑
摘要: /*查询指定库中所有表*/ SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'mdm'/*库名*/ SELECT t.TABLE_NAME,t.TABLE_COLLATION FROM INFORMATION_SCHEMA.TABLES t WHERE t.table_schema = 'mdm'... 阅读全文
posted @ 2012-07-25 17:33 天纯蓝 阅读(335) 评论(0) 推荐(0) 编辑
摘要: if (e.KeyCode == Keys.Enter) { this.SelectNextControl(this.ActiveControl, true, true, true, true); } 阅读全文
posted @ 2012-06-30 15:42 天纯蓝 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Code /** * 获取CPU号,多CPU时,只取第一个 * @return */ public static String getCPUSerial() { String result = ""; try { File file = File.createTempFile("tmp", ".vbs"); ... 阅读全文
posted @ 2012-05-10 09:02 天纯蓝 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Codepublic static String substring(String str,int s,int len){ byte[] substr = new byte[len]; System.arraycopy(str.getBytes(), s-1, substr, 0, len-1); str = new String(substr); return str.trim(); ... 阅读全文
posted @ 2012-04-23 16:03 天纯蓝 阅读(555) 评论(0) 推荐(0) 编辑
摘要: Codepublic static String convertStringUTF(String gbk) { String utf8 = gbk; try { if (!utf8.equals("") && utf8 != null) { utf8 = new String(gbk2utf8(gbk), "UTF-8"); } } catch (UnsupportedEncodingException e) { utf8 = gbk; } return utf8; } public static byte[] gbk2utf8(Stri 阅读全文
posted @ 2012-04-23 16:01 天纯蓝 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Codeimport java.security.MessageDigest;public class MD5 { //十六进制下数字到字符的映射数组 private final static String[] hexDigits = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", 阅读全文
posted @ 2012-04-23 15:58 天纯蓝 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Code<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.j... 阅读全文
posted @ 2012-04-09 15:34 天纯蓝 阅读(1083) 评论(1) 推荐(0) 编辑
摘要: Codepackage com.skyblue.core.database;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.net.HttpURLConnection;import java.net.MalformedURLException;... 阅读全文
posted @ 2012-04-07 15:26 天纯蓝 阅读(2006) 评论(1) 推荐(1) 编辑
摘要: create or replace procedure Day_limit_del_error_data as begin declare page number; len number; c varchar2(10); charpp number := 8132/2; begin for r in (sele... 阅读全文
posted @ 2012-03-29 17:31 天纯蓝 阅读(249) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 33 下一页