資源簡介
Android通訊錄(含服務(wù)端),詳細(xì)請下載查看。
代碼片段和文件信息
package?com.mingda.dao;
import?java.sql.Connection;
import?java.sql.PreparedStatement;
import?java.sql.ResultSet;
import?java.sql.SQLException;
import?java.sql.Statement;
import?java.util.ArrayList;
import?java.util.List;
import?com.mingda.entity.Company;
import?com.mingda.entity.Emplyees;
import?com.mingda.util.DBconn;
public?class?CompanyDAO?{
private?Connection?conn;
private?Statement?stat;
private?PreparedStatement?pstmt;
public?List?selectCompanyList()
{
List?list=new?ArrayList();
DBconn?db=new?DBconn();
conn=db.getConnection();
String?sql=“select?*?from?Company“;
try?{
pstmt=conn.prepareStatement(sql);
ResultSet?rs=pstmt.executeQuery();
while(rs.next())
{
Company?company=new?Company();
company.setCid(Integer.parseInt(rs.getString(“Cid“)));
company.setCname(rs.getString(“Cname“));
company.setCother(rs.getString(“Cother“));
company.setUrl(rs.getString(“url“));
list.add(company);
}
}?catch?(SQLException?e)?{
//?TODO?Auto-generated?catch?block
e.printStackTrace();
}
return?list;
}
public?static?void?main(String[]?args)?{
List?list=new?CompanyDAO().selectCompanyList();
for(int?i=0;i System.out.println(((Company)list.get(i)).getCname());
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????189??2013-08-06?19:12??Android通訊錄(含服務(wù)端)\備注.txt
?????文件?????383326??2013-08-06?18:48??Android通訊錄(含服務(wù)端)\客戶端安裝包\AddressBook_Client.apk
?????文件????3012301??2013-08-06?19:10??Android通訊錄(含服務(wù)端)\客戶端源代碼\AddressBook_Client.rar
?????文件??????10982??2013-08-06?19:22??Android通訊錄(含服務(wù)端)\數(shù)據(jù)庫SQL文件\contacts.sql
?????文件????????973??2013-08-06?18:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.classpath
?????文件????????330??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.myme
?????文件???????1762??2013-07-24?16:18??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.project
?????文件????????500??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\.jsdtscope
?????文件????????395??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\org.eclipse.jdt.core.prefs
?????文件????????495??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\org.eclipse.wst.common.component
?????文件????????252??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2013-07-24?14:34??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.settings\org.eclipse.wst.jsdt.ui.superType.name
????I.A....?????????3??2013-07-24?16:56??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\entries
????I.A....?????????3??2013-07-24?16:56??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\format
????I.A....???????252??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\07\07f3fa47d24dd77ce5956a59fd390f39948ca4a5.svn-ba
????I.A....??????1762??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\08\081fa6b9a255f180c84b178a5320a0df0859095c.svn-ba
????I.A....???????330??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\12\127dcdfbaaee13e86730a25dc2b59e20c2ca67bb.svn-ba
????I.A....????????36??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\14\14f6e5aedc400d47fda71c2fdc8ac3c1ac37ec0b.svn-ba
????I.A....???????837??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\2e\2e03ed41a201cb4d9faa160d6d4418adbdf9adce.svn-ba
????I.A....???????433??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\39\396e3c2c5c55ab48f37b46defbb87a90a02684ce.svn-ba
????I.A....???????433??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\41\4178084e185dd2cf63aac049860ec2cba376a9a6.svn-ba
????I.A....?????????6??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\41\41dfc0a6c92707948578891c51d98c6443be63cc.svn-ba
????I.A....???????495??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\5e\5eb705886923425ff12c60d2c721d1227fb78a0d.svn-ba
????I.A....???????606??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\6e\6ea4e9a6f660e2697114557285990d175d478075.svn-ba
????I.A....???????947??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\76\765c2993bc408c71e666b8f3b0b5f4885cac3b2b.svn-ba
????I.A....????????49??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\87\87ab9531e1222351568346cf9057a0cae36112b8.svn-ba
????I.A....??????1243??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\9e\9ee0b9b6e9cc30f5a2e252aabd11efbe3ab51434.svn-ba
????I.A....??????1113??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\a1\a1108465a0f4f504b100a21f3c7c23119f486010.svn-ba
????I.A....???????432??2013-07-24?16:58??Android通訊錄(含服務(wù)端)\服務(wù)端源代碼\AddressBook_Service\AddressBook_Service\.svn\pristine\ac\ac9273bcc204844b0b86524c1b7c1c20b1f876f1.svn-ba
............此處省略111個文件信息
評論
共有 條評論