Private Sub btnEjemplo1_Click(sender As Object, e As EventArgs) Handles btnEjemplo1.Click
' Consulta a arreglo de numeros
Dim resultado As String
Dim values() As Integer = {1, 10, 100, 5}
Dim tbllinq = From v In values
'Where v > 10
'Dim values() As Integer = {3, 10, -1, 30, -3}
'Dim tbllinq = From v In values
' Order By v Descending
Me.gvEjemplo.DataSource = tbllinq.ToList
End Sub
No hay comentarios:
Publicar un comentario