Professional Documents
Culture Documents
Dlp-Chavez Lope, Johan
Dlp-Chavez Lope, Johan
ertyuiopasdfghjklzxcvbnmqwert
yuiopasdfghjklzxcvbnmqwertyui
DISEO DE LENGUAJE DE
opasdfghjklzxcvbnmqwertyuiopa
PROGRAMACION
sdfghjklzxcvbnmqwertyuiopasdf
CHAVEZ LOPE, Johan
ghjklzxcvbnmqwertyuiopasdfghj
klzxcvbnmqwertyuiopasdfghjklz
xcvbnmqwertyuiopasdfghjklzxcv
bnmqwertyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwe
rtyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuio
pasdfghjklzxcvbnmqwertyuiopas
dfghjklzxcvbnmqwertyuiopasdfg
RIVERA RIVERA, REMY
Imports System.Data.SqlClient
Dim s, cons, sc As String
Dim i, x, b1, b2, a1, tc As Integer
Dim CN As New SqlConnection
Dim dv As New DataView
CN.ConnectionString = "Data Source=JO-HANN-PC;Initial
Catalog=tienda2;Integrated Security=True"
cons = ""
s = TextBox1.Text & " "
i = Len(s)
a1 = 0
For x = 1 To i
If Mid(s, x, 1) <> " " Then
If a1 = 0 Then
b1 = x
a1 = 1
End If
b2 = b2 + 1
End If
If Mid(s, x, 1) <> " " And Mid(s, x + 1, 1) = " " Then
sc = Mid(s, b1, b2).ToUpper
Select Case sc
Case "SELECCIONAR"
cons += "select "
tc = 1
Case "ELIMINAR"
cons += "delete "
tc = 2
Case "DE"