@Override
    public boolean insert(DataRow row) {
        String statement = "INSERT INTO " + row.getTableName();
        String args = "";
        String values = "";
        boolean isFirst = true;
        for(DataCell cell : row.row)
        {
            if(isFirst)
            {
                isFirst = false;
                args += cell.getName();
                values += "'" + cell.getValue() + "'";
                
            } else {
                args += ", " + cell.getName();
                values += ", " + "'" + cell.getValue() + "'";
            }
            
        }
        //System.out.println(args);
        //System.out.println(values);
        statement += "(" + args + ")" + " VALUES(" + values + ")";
        try
        {
            Statement stat = dbConnection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
            stat.executeUpdate(statement);
            return true;
        } catch(Exception e) {
            ErrorDialog errorDialog = new ErrorDialog(true, "Nastąpił błąd podczas wykonywania insert do bazy danych:\n" + e.getMessage(), "SqlServerLocalDatabaseConnector", "insert", "row, statement");
            errorDialog.setVisible(true);
            return false;
        }
    }