var list= (from list in dc.tblList where list.listID == listID select (list.aspnet_User.aspnet_Membership.Email)).DefaultIfEmpty(); if (list != null) { //insert code here }
var list= (from list in dc.tblList where list.listID == listID select (list.aspnet_User.aspnet_Membership.Email)).First();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)