var sessid = attend.tblSessions.Where(u => u.FK_GroupID == id).Select(u => u.PK_SessionsID); MessageBox.Show(sessid.ToString());
SELECT [Extent1].[PK_SessionsID] AS [PK_SessionsID] FROM [dbo].[tblSessions] AS [Extent1] WHERE [Extent1].[FK_GroupID] = @p__linq__0
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)