Private Sub btnEjemplo3_Click(sender As Object, e As EventArgs) Handles btnEjemplo3.Click
Dim resultado As String
Dim animales() As String = {"perro", "gato", "raton", "jirafa", "gallina"}
Dim tbllinq = From v In animales
Where v.ToUpper Like "G*"
'Where v.ToUpper.Contains("G")
Me.gvEjemplo.DataSource = tbllinq.ToList
End Sub
No hay comentarios:
Publicar un comentario