Mình lặp ra topic này với mục đích học tập. Và có thể giúp 1 số bạn lần đầu tiếp xúc với java còn gặp nhiều khó khăn.
Để việc học tập ngày càng hiệu quả. Và chia sẻ kiến thức cùng nhau.
Có thắc mắc gì về môn JAVA1 và JAVA2 ở trường thì các bạn có thể để lại lời nhắn ở đây hoặc
mail : thaihoanghai.it@gmail.com
Yahoo: kupj_kupj91
để được hướng dẫn trực tiếp . Mình sẻ check blog và mail hàng ngày.
Chúc các bạn làm việc hiệu quả.
August 26, 2012 at 8:10 am
Bạn cho mình xin tài liệu java1được không .
Có gì send qua nick mình nha why_youloveme@yahoo.com.
Thanks
August 26, 2012 at 2:49 pm
http://www.mediafire.com/?1m0wrrbs6e3aroo Cuốn này là chính thức của trường mình rất hay.
Code trong giáo trình nè : http://www.mediafire.com/?vu2t7mpno4dxpei
Đây là Một số bài cho các bạn mới làm quen với JAVA2 http://www.mediafire.com/?vu2t7mpno4dxpei
Chúc bạn thành công !!
September 4, 2012 at 10:04 am
blog hay nè mày.
September 16, 2012 at 9:30 am
anh ơi giúp em sao em không kết nối CSDL được ???
import java.sql.*;
import java.util.*;
public class TestDatabase extends GuiDB{
public static Connection getConnection(){
Connection con=null;
try{
// load driver
Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver”);
con=DriverManager.getConnection(“jdbc:sqlserver://localhost:1434;” +
“Database=Demo;User=sa;Password=123456;”);
if (con!=null) {
System.out.print(“Ket noi thanh cong”);
Statement state=con.createStatement();
ResultSet rs=state.executeQuery(“select * from Role”);
while(rs.next())
{
System.out.print(rs.getString(“Id”)+” “+rs.getString(“Name”)+”\n”);
}
}
}catch(ClassNotFoundException ex){
System.out.print(ex.getMessage());
}catch(SQLException e){
System.out.print(e.getMessage());
}
return con;
}
public static void main(String[] args){
GuiDB gui=new GuiDB();
getConnection();
}
}
September 16, 2012 at 12:58 pm
Code bạn viết rất ổn. Sửa lại cổng port là 1433 thử đi bạn. Trong quá trình coi lại xem nó có báo là không có driver không. Bạn bị lổi thì post lổi lên cho mình xem luôn đi.
Bạn có thể tham khảo chi tiết trên đây : http://cione.com.vn/Videos/214/huong-dan-tao-doi-tuong-ket-noi-csdl-trong-java
Chúc bạn thành công !!!
December 4, 2012 at 8:35 am
Do a similar task, but this time make only one instance of your main class (the one that implements Runnable). Still have 5 tasks in the queue. You are following variation 2 of the basic threading approach (main class implementing Runnable). Now your code will look roughly like this (or, with the calls to execute in a loop):
Anh giúp em giải thích bài này nha anh.
February 12, 2013 at 5:02 pm
Hai link này đều die hết rồi bạn, up lại giùm mình nha, thanks, Minh cũng là sinh viên mới vào HUI thôi 🙂
“http://www.mediafire.com/?1m0wrrbs6e3aroo Cuốn này là chính thức của trường mình rất hay.
Code trong giáo trình nè : http://www.mediafire.com/?vu2t7mpno4dxpei
Đây là Một số bài cho các bạn mới làm quen với JAVA2 http://www.mediafire.com/?vu2t7mpno4dxpei“
February 27, 2013 at 4:08 pm
^^! đả update link rồi đó bạn
June 24, 2013 at 12:15 pm
Spot on with this write-up, I truly think this web site needs a
great deal more attention. I’ll probably be back again to see more, thanks for the info!
June 24, 2013 at 2:39 pm
It’s going to be finish of mine day, however before end I am reading this enormous article to increase my experience.
July 4, 2013 at 7:20 pm
Thanks ad blog is helful.
July 6, 2013 at 8:55 am
add nick chat mih nha ban
minh co nay can hoi…..
July 18, 2013 at 7:14 pm
Anh giúp em làm phần mềm chát Client-Server nha anh…..
July 18, 2013 at 9:34 pm
Ok minh cung tung lam bai do roi …co gi k hieu ban cu post len mih giup cho