I am using the following code (which works) to return all records, but I can't get it to work without selecting each field individually. I would like to know the syntax to retrieve all fields, because some tables will have a lot of them.
Dim db As New DataContext("C:\Grow.mdf")
Dim Strains As Table(Of Strain) = db.GetTable(Of Strain)()
Dim q = From objStrain In Strains Select objStrain.StrainID, objStrain.Code, objStrain.Name Order By Code
If q.Count = 0 Then
DataGridView1.DataSource = q
Catch ex As Exception