HOW TO FIX DVD RW DISPLAY ERROR
1) First, you have to open CMD as Administrator
2) Then you have to write the below-given code in command prompt
"reg.exe add "HKLM\System\CurrentControlSet\Services\atapi\Controller0" /f /v EnumDevice1 /t REG_DWORD /d 0x00000001"
AFTER THAT YOU HAVE TO PRESS ENTER KEY
AND THEN RESTART YOUR COMPUTER
AFTER THAT YOUR PROBLEM IS FIXED!
IT WILL SHOW LIKE THIS
THANKS PLEASE TRY IT .......
PRINT THIS
Click the button to print the current page.
LOGIN FORM JAVA NETBEANS USING MYSQL DATABASE
LOGIN FORM
1} FIRST MAKE YOUR LOGIN FORM LAYOUT
2} THEN IMPORT THESE TO YOUR PACKAGE
import java.sql.*;
import javax.swing.JOptionPane;
3} THEN WORK ON CODING
private void loginActionPerformed(java.awt.event.ActionEvent evt)
{
String sql="Select * from login";
try {
Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/yourdtabase_name","yourmysql_id","yourmysql_password");
Statement stmt=con.createStatement();
ResultSet rs = stmt.executeQuery(sql);
String user=jTextField1.getText();
String pwd= new String (jPasswordField1.getPassword());
if (rs.next()) {
String uname=rs.getString("EMPLOYEE_ID");
String password=rs.getString("PASSWORD");
if ((user.equals(uname))&&(pwd.equals(password)))
{
new menu().setVisible(true);
JOptionPane.showMessageDialog(null,"Successfull Login");}
else
{
JOptionPane.showMessageDialog(null,"Incorrect Username or Password!");
new menu().setVisible(false);
}
}
}
catch (Exception e){
System.out.print("error in connectivity");
}
NOW READY TO RUN !
THANKYOU
Subscribe to:
Posts (Atom)
DOWNLOAD BIO DATA FORMAT
Easy to Make Bio Data format Download this pdf file and make it as it is DOWNLOAD PDF
-
LOGIN FORM 1} FIRST MAKE YOUR LOGIN FORM LAYOUT 2} THEN IMPORT THESE TO YOUR P...
-
1) First, you have to open CMD as Administrator 2) Then you have to write the below-given code in command prompt "reg.exe...
-
Easy to Make Bio Data format Download this pdf file and make it as it is DOWNLOAD PDF



