XString valuesQry = new XString("VALUES (");
for (int i = 0; i < this.getRow().getColumnCount(); i++) {
String columnName = this.getRow().getColumnName(i);
insertQry.assertText("(", ", ");
insertQry.addText(columnName);
valuesQry.assertText("(", ", ");
valuesQry.addText("?");
values.add(this.getVal(columnName).getValue());
}
insertQry.addText(") ");
insertQry.addText(valuesQry);