quantita='" & txtqtamod.Text & "'

C'è un apice singolo di troppo.