TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sivakumar
NA
551
217.8k
An unhandled exception
Aug 11 2015 1:19 AM
iam getting a error looks like
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
my code is looks like a below
public List<TeamData> GetMemberTeams(int memberid)
{
var memberTeam =
( from m in _DataContext.MemberLogins
join tm in _DataContext.TeamMembers on m.MemberLoginID equals tm.MemberLoginID
join t in _DataContext.Teams on tm.TeamID equals t.TeamID
where m.MemberID == memberid select new TeamData{TeamID=t.TeamID, TeamName= t.TeamName, TeamStatus=t.TeamStatus}).ToList();
return GetMemberTeams(memberid);
}
am getting a error An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
Reply
Answers (
3
)
Crytal Report
Must declare the scalar variable