Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Module1.comando.CommandText = "INSERT INTO registro (Matricula,Nombre,Ap_paterno,Ap_materno,Fecha_nac,Sexo,Foto, Fecha_ing,Id_administrador) VALUES (" & TextMatricula.Text & ",'" & TextNombre.Text & "','" & TextAp.Text & "','" & TextAm.Text & "','" & Fecha_nac.Text & "','" & TextSexo.Text & "','" & img.Image.ToString & "','" & Fecha_ing.Text & "',1)"
  2. comando.ExecuteNonQuery()
  3. MsgBox("guardado")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement