Can any one explain to me why I am getting the error "UGroup is not declared." on the attached bit of code? I have hundreds of similarly formatted methods that work perfectly! Thanks in advance!
KK
KK
Code:
Dim linqUsers As New linqUserDataDataContext Dim UGroups = From UG In linqUsers.Users Select UG.UserGroupID, UG.Description For Each UGroup In UGroups 'Populate a data grid view... Next 'UGroup
Comment