In effetti...
Dovresti postare anche la query di insert.
Provare il framework che ho in firma?