Đang tải... (xem toàn văn)
Khóa luận tốt nghiệp Quản trị kinh doanh: Phân tích tình hình tài chính tại Công ty TNHH SXTM Tân Hưng được thực hiện với mục tiêu nhằm phân tích tình hình tài chính của công ty thông qua báo cáo tài chính; đánh giá tình hình tài chính của công ty thông qua các chỉ số tài chính. Từ đó, đưa ra một số giải pháp nhằm nâng cao hiệu quả hoạt động tài...
package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } } package connectDB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectDB { public static Connection = null; private static ConnectDB instance = new ConnectDB(); public static ConnectDB getInstance() { return instance; } public void connect() throws SQLException { String url = "jdbc:sqlserver://localhost:1433;database name=QLNVIEN"; String user = "sa"; String pw = "123"; = DriverManager.getConnection(url, user, pw); if(con != null) { System.out.println("thanh cong"); } } public void disconnect() { if(con != null) { try { con.close(); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } } } public static Connection getConnection() { return con; } }