Examen de Taller de Programación Concurrente
Examen de Taller de Programación Concurrente
Examen de Taller de Programación Concurrente
1. Ventana Factura
Código:
Imports System.Data.SqlClient
Public Class Facturacion
Dim fila As Integer = -1
Dim TIPO As String = ""
Dim D As Integer = 0
Dim pre As Double
Me.DatosGrid.Rows.
RemoveAt(fila)
fila = -1
Else
MsgBox("Debe eliminar una fila")
End If
End Sub
'CABECERA cn.Open()
Dim cmd As New SqlCommand("SP_MANTEDOCUMENTO", cn)
Dim prm As New SqlParameter
With cmd
.CommandType = CommandType.StoredProcedure
prm = .Parameters.Add("@NDO",
SqlDbType.VarChar, 5) prm.Value =
Me.txtNum.Text
2. Matricula: