eclipse java ¿ØÖÆ̨ - Java / Java SE
ÔõôÔÚ¿ØÖÆ̨ÖÐÊäÈëÀàËÆÏÂÃæµÄÐÅÏ¢£º
s1234 50
s1235 80
s1234 90
s1234 40
s1236 90
ÿµ±»Ø³µÊ±³ÌÐò¾ÍÖ´ÐÐÁË£¬Ã»·¨ÊäÈëÏÂÒ»ÐУ¬
Çë´óÏÀ´Í½Ì¡£
×Ô¼º¶¥Ò»Ï¡£¡£¡£
eclipseÀïÃæÑ¡ÖÐÕâ¸öjavaÎļþ£¬ÓÒ¼ü--Run As--open run dialog¡£¡£--µÚ¶þ¸öÑ¡Ï£¨Arguments£©£¬ÔÚµÚÒ»¸öprogram argumentsÊäÈë²ÎÊý1 ²ÎÊý2 ²ÎÊý3£¬¿Õ¸ñ¸ô¿ª£¬»Ø³µ»»ÐÐ
ÊÇÊäÈ룬ÊÇÄǸöÐÎʽµÄÊäÈë ÔõôÊäÈë
for(int i=0;i<5;i++){
System.out.print("ÇëÊäÈ룺\t");
String str = input.next();
int val = input.nextInt();
}
//µ±ÊäÈë strÖ®ºó£¬×Ô¼º²»»á°´¿Õ¸ñÂð£¿È»ºóÊäÈë int
×îºÃ°ÑÄãµÄ´úÂëÌù³öÀ´£¬Ò»¿´¾ÍÖªµÀÊÇÄÇÖÖÁË¡£¡£
Ïà¹ØÎÊ´ð£º
ÎÊÌâÃèÊö£ºÐ´ÈÕÖ¾¹¦ÄÜ£¬Ð´ºÃµÄдÈÕÖ¾·þÎñ£¬ÆäËûÓû§Í¨¹ýhttpµ÷Ó÷þÎñ£¬´«Èë²ÎÊý£¬È»ºó¼Ç¼ÈÕÖ¾£¬
ÎҵķþÎñ¸ÃÔõôд£¬ ±ðÈËÔõôͨ¹ýhttpµ÷ÓÃÎҵķþÎñ£¬ÎÒÓÃwebserviceдºÃÁËÒ»¸ö£¬¿ÉÊDz¢·¢ÓÐÉÏÏߣ¬Ïë¸ÄÓ ......
µ±ÖªµÀÒ»¸öÈÕÆÚ£¬ÈçºÎ°ÑÕâ¸öÈÕÆÚËùÔÚÑ®µÄÇ°ºóÁ½¸öÈÕÆÚÈ¡³ö
±ÈÈçÊäÈë20090905£¬¾ÍÊäÈë20090901 20090910
Êä³ö20090901 20090910
È¡µÃÌìÊýºó×÷Ò»ÏÂÅжÏÔÙ°ÑÕâ¸ö·½·¨ÓÃÏÂvoid set(int field, int value)
......
import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class QueryTest&n ......
Ïë換個µØ·½¹¤×÷£¬²»ÊÇ´ó連¾ÍÐУ¬
java對ÈÕÍâ°ü4Äê經驗£¬ÈÕ語3級£¬±¾¿Æ
ÓÐÄÄλ´ó´ó給ÍÆÒ»個Ŷ
ÉϺ£±±¾©ºÜ¶àµÄ£¬È¥´³Ò»Ï°É
¶ÔÈյĻ¹ÐÐ.
ÄãÔõô² ......
ÄÇλ´óÏÀÄܸøÎÒÒ»¸öJavaͨÓõķÖÒ³¿Ø¼þ£¬ÎÒ½«·Ç³£¸Ð¼¤¡£
ÆäÖÐ×îºÃÄÜ°üº¬SQL Server2000£¬SQL Server2005£¬Oracle¡¢MySqlµÈºÜ³£ÓõÄһЩÊý¾Ý¿â·ÖҳʵÏÖ¡£
×îºÃÄܼÓÉÏһЩʵÀý£¬±ãÓÚÎÒʹÓá£
ÎÒµÄÓÊÏäÊÇgaolihua889 ......