nwpulq

2009年4月17日

FileOutput类---载自《java软件开发》Russel Winder & Graham Roberts

摘要: import java.io.*;/** * A simple output class to write values to a file of characters. * If any file errors occur, methods in this class will display * an error message and terminate the program. * * ... 阅读全文

posted @ 2009-04-17 14:25 李奇 阅读(301) 评论(0) 推荐(0) 编辑

DrawFrame类---摘自《Java软件开发》Russel Winder & Graham Roberts

摘要: import java.awt.*;import java.awt.event.*;import javax.swing.*;/** * This class provides a basic window, with a quit button, that can * be used to create simple GUIs. * * @version 1.1 2000.01.07 * @a... 阅读全文

posted @ 2009-04-17 14:14 李奇 阅读(453) 评论(0) 推荐(0) 编辑

2009年4月2日

DrawPanel类---摘自《Java软件开发》Russel Winder & Graham Roberts

摘要: import java.awt.*; import javax.swing.*; /** * A JPanel with a default size. Subclasses must * override the paint method which has signature. * * public void paint(final Graphics g) * * @ver... 阅读全文

posted @ 2009-04-02 10:25 李奇 阅读(665) 评论(0) 推荐(0) 编辑

2009年3月3日

FileInput类---载自《java软件开发》Russel Winder & Graham Roberts

摘要: import java.io.*; /** * A simple input class to read values from a file of characters. If * any file errors occur, methods in this class will display an error * message and terminate the progra... 阅读全文

posted @ 2009-03-03 15:45 李奇 阅读(320) 评论(0) 推荐(0) 编辑

2009年2月18日

KeyboardInput类---载自《java软件开发》Russel Winder & Graham Roberts

摘要: import java.io.*; /** * A simple input class to read values typed at the command line. If * an error occurs during intput, any exceptions thrown are caught and * a default value returned. * *... 阅读全文

posted @ 2009-02-18 13:46 李奇 阅读(412) 评论(1) 推荐(0) 编辑

2008年9月25日

C#编程sql语句反斜杠问题

摘要: 折腾了一下午,外加半个晚上,终于把数据从局域网内的服务器调出来了! 问题是这样的,通过Oracle Sql Developer,我把数据表ChemicalComposition建立在隔壁小浩的Oracle服务器上,然后我这台客户机上想利用C#程序调用其中的ChemicalComposition。 关键代码片段如下 using (OracleConnection AGConnection = n... 阅读全文

posted @ 2008-09-25 20:44 李奇 阅读(2694) 评论(1) 推荐(0) 编辑

2008年9月17日

一个子查询小问题

摘要: tablename:STU_INFO stu_id name sex age department 0001 liqi m 24 sia-2 0002 yanxiaohui m 23 sia-2 0003 zhanghao m 24 sia-2 0004 liweic... 阅读全文

posted @ 2008-09-17 21:38 李奇 阅读(155) 评论(0) 推荐(0) 编辑

2008年9月9日

数据库设计,你要如何设计才会更美?

摘要: 数据库有三十多张表了,最后十来张据说可以放到一张表里,下午尝试了一下,还真可以,但产生五个主键(PK),也就是五个PK做联合主键,五个主键太恐怖,两个都能把人搞死,我做不来。不知道整一个代理主键行否?代理主键可是没有任何意义的,视乎不利于查询。。。 还是明天问张老师吧。。。 阅读全文

posted @ 2008-09-09 20:04 李奇 阅读(221) 评论(4) 推荐(0) 编辑

导航