import java.sql.*;
import java.io.*;
class Slip13
{
public ststic void main(String args[])
{
if(args.length!=3)
{
System.out.println("Wrong number Argument"0;
System.exit(1);
}
int Eno,Sal;
String Ename.query;
Connection conn=null;
Statement stmt=null;
resultSet rs=null;
try
{
Eno=Integer.parseInt(args[0]);
}
catch(numberFormatException e)
{
Eno=5;
System.out.println("Error");
}
Ename=args[1]);
try
{
Sal=Integer.parseInt(args[2]);
}
catch(numberFormatException e)
{
Sal=45;
System.out.println("Error");
}
try
{
class.foeNAme("Sun.jdbc.odbc.JdbcOdbcDriver");
Con=Drivermanager.getConnection9"jdbc:odbc:t );
stmt-Conn.createStatement();
query=("insert into empl values('"+Eno+"','"+Ename+"','"+Sal+"'););
System.out.println("Query");
conn.commit();
System.out.println("record has been inserted");
}
catch(Exception e)
{
System.out.println("Exception occour=+e);
}
try
Coin Casino Review Canada
ReplyDeleteCheck out our review of งานออนไลน์ Coin Casino 제왕 카지노 in 인카지노 2021! In this casino review, we will cover everything you need to know about what you can get at Coin Casino.Casino Name: C$200 BonusCode: CBASLOT88🎲 Games: 1,000+