?? businessaction.java~21~
字號:
package com.jbaptech.accp.netbar.client;
import java.util.*;
import java.sql.*;
import java.util.ArrayList;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: 北京阿博泰克北大青鳥信息技術有限公司</p>
*
* @author Michael Luo
* @version 1.0
*/
public class BusinessAction {
public BusinessAction() {
}
public void getNotUsedComputeList(){
int i=1;
Connection con = null;
try{
con=ConnectionManager.getConnection();
Statement s = con.createStatement();
String strSql =
"select id from Computer where OnUse = 0; ";
ResultSet rs = s.executeQuery(strSql);
while (rs.next()){
CheckInPanel.computerIdCombox.addItem(rs.getString(i));
i++;
}
}catch(SQLException sqlE){
sqlE.printStackTrace();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -