B
Bob Develd
Here is my problem :
------------------------------------------------------------------------------------------------------------------------
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim DataContextFilms As New DataContext(MaConnexion)
Dim lesFilms = DataContextFilms.GetTable(Of films)()
Dim dataFilms = From f In lesFilms _
Order By f.id_film Descending _
Where f.id_film = idFilm _
Select f
ShowMe (dataFilms)
end sub
------------------------------------------------------------------------------------------------------------------------
Wich type of variable can I use to create the procedure 'ShowMe' ?
Sub ShowMe (data as ???????????????????)
.......
.......
End Sub
That's perhaps a very simple question, but I am discovering anonymous
type....
------------------------------------------------------------------------------------------------------------------------
ANOTHER QUESTION :
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim DataContextFilms As New DataContext(MaConnexion)
Dim lesFilms = DataContextFilms.GetTable(Of films)()
Dim dataFilms = From f In lesFilms _
Order By f.id_film Descending _
Where f.id_film = idFilm _
Select f
Dim MyData = dataFilms.tolist
ShowMe (MyData )
end sub
Wich type can I use to create the procedure 'ShowMe' ?
Sub ShowMe (data as ???????????????????)
.......
.......
End Sub
Thanks for help.
------------------------------------------------------------------------------------------------------------------------
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim DataContextFilms As New DataContext(MaConnexion)
Dim lesFilms = DataContextFilms.GetTable(Of films)()
Dim dataFilms = From f In lesFilms _
Order By f.id_film Descending _
Where f.id_film = idFilm _
Select f
ShowMe (dataFilms)
end sub
------------------------------------------------------------------------------------------------------------------------
Wich type of variable can I use to create the procedure 'ShowMe' ?
Sub ShowMe (data as ???????????????????)
.......
.......
End Sub
That's perhaps a very simple question, but I am discovering anonymous
type....
------------------------------------------------------------------------------------------------------------------------
ANOTHER QUESTION :
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim DataContextFilms As New DataContext(MaConnexion)
Dim lesFilms = DataContextFilms.GetTable(Of films)()
Dim dataFilms = From f In lesFilms _
Order By f.id_film Descending _
Where f.id_film = idFilm _
Select f
Dim MyData = dataFilms.tolist
ShowMe (MyData )
end sub
Wich type can I use to create the procedure 'ShowMe' ?
Sub ShowMe (data as ???????????????????)
.......
.......
End Sub
Thanks for help.