I am trying to insert some data into a sql server i have but it seems like I'm formating the information wrong. This is what i have so far.
product id = int;
type = string;
watt = float;
volts = float;
String query = "INSERT INTO GoodCustomer(Product ID, Type, Watt, Volts) VALUES(+obj.getProductId()+,'"+obj.getType()+"','"+obj.getWatt()+"','"+obj.getVolts()+"')");