06 2004 档案

摘要:http://www.theserverside.com/news/thread.tss?thread_id=26955 阅读全文
posted @ 2004-06-29 15:55 程序员天下 阅读(132) 评论(0) 推荐(0) 编辑
摘要:千呼万唤始出来,Eclipse总算出3.0版了 阅读全文
posted @ 2004-06-28 10:04 程序员天下 阅读(112) 评论(0) 推荐(0) 编辑
摘要://The Server using System;using System.IO;using System.Net;using System.Net.Sockets;using System.Text; namespace SocketTest{public class Server3{public Server3(){}public void run() {string data;IPEndPoint ipep = new IPEndPoint(IPAddress.Any, 9050);Socket newsock = new Socket(AddressFamily.InterNetwo 阅读全文
posted @ 2004-06-28 09:55 程序员天下 阅读(148) 评论(0) 推荐(0) 编辑
摘要://使用dbutils1.0版本 import java.util.*;import java.util.logging.*;import java.sql.*;import org.apache.commons.dbutils.*;import org.apache.commons.dbutils.handlers.*; public class TestDBUnits {public static void main(String[]args) throws Exception {TestDBUnits test = new TestDBUnits();for(int i = 0 ; i 阅读全文
posted @ 2004-06-24 10:04 程序员天下 阅读(153) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Text;using System.Runtime.InteropServices;namespace DevInfo{??? class DeviceInfo??? {??????? public const int DIGCF_PRESENT??? = (0x00000002);??????? public const int MAX_DEV_LEN = 1000;??????? public const int SPDRP_FRIENDLYNAME = (0x0000000C);? ????????? // FriendlyName ( 阅读全文
posted @ 2004-06-23 08:48 程序员天下 阅读(159) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Runtime.InteropServices;using System.Text;namespace DevClasses{/// /// Summary description for Class./// class DeviceClasses{? /// ? /// The main entry point for the application.? /// ? public const int MAX_NAME_PORTS=7;? public const int RegDisposition_OpenExisting=(0x0000 阅读全文
posted @ 2004-06-23 08:41 程序员天下 阅读(180) 评论(0) 推荐(0) 编辑
摘要:原文: http://www.theserverside.com/articles/article.tss?l=JDBCPerformancehttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIIhttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIII译文:http://dev.csdn.net/article/29067.shtmhttp://dev.csdn.net/article/29068.shtmh 阅读全文
posted @ 2004-06-23 08:38 程序员天下 阅读(88) 评论(0) 推荐(0) 编辑
摘要://取CPU编号 private String GetCpuID() {ManagementClass mc = new ManagementClass("Win32_Processor");ManagementObjectCollection moc = mc.GetInstances(); String strCpuID = null ;foreach( ManagementObject mo in moc ) {strCpuID = mo.Properties["ProcessorId"].Value.ToString();break; }retu 阅读全文
posted @ 2004-06-23 08:37 程序员天下 阅读(110) 评论(0) 推荐(0) 编辑
摘要:using System;using System.IO;using System.Xml;public class Sample { public static void Main() { XmlTextReader reader = null; try { //Load the reader with the XML file. reader = new XmlTextReader("elems.xml"); //Parse the XML and display the text content of each of the elements. while (read 阅读全文
posted @ 2004-06-23 08:23 程序员天下 阅读(155) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示