G
gordigor
This is probably going to be an easy answer, but I can't find it anywhere. I
want to assign a labels .text property to a field returned in a LINQ Query:
Dim db As New ClientDataContext
Dim ColumnHeaders = From C In db.Customer _
Select _
C.Name
//I would expect assignment to work like this but Name doesn't show
Label.Text = ColumnHeaders.Name
What's the correct way?
want to assign a labels .text property to a field returned in a LINQ Query:
Dim db As New ClientDataContext
Dim ColumnHeaders = From C In db.Customer _
Select _
C.Name
//I would expect assignment to work like this but Name doesn't show
Label.Text = ColumnHeaders.Name
What's the correct way?