I've seen C# examples but can not find a way to get the column names from the results of a LINQ SQL query in VISUAL BASIC.
So myLINQ query looks like this:
Dim dbs As New DataClasses1DataContext
Dim s As Table(Of sched) = dbs.GetTable(Of sched)()
Dim sQuery = From sp In s
Where sp.custID = cID
Select sp Order By sp.scheddate
There are 13 fields in the table sched, and I'd like to be able to read off the column names in a foreach type loop. Can anyone help me?