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
218.5k
iam implementing linq to sql using stored procedure
Aug 13 2015 7:37 AM
Hi,
iam implementing linq to sql using stored procedure to get the details
i write the code like this :
public TeamData GetTeamDetails(int teamid)
{
var getteam= (from t in _DataContext.uspGetTeam where t.TeamID==teamid select new TeamData {TeamID=t.TeamID,TeamName=t.TeamName,TeamStatus=t.TeamStatus}).SingleOrDefault();
return getteam;
}
in this code i get a error :
Error 1 'Kiwi.Service.DL.KiwiDataContext.uspGetTeam(int?)' is a 'method', which is not valid in the given context E:\Kiwi Project\service\Kiwi.Service.DL\DataAccess.cs 47 50 Kiwi.Service.DL
Reply
Answers (
1
)
in combo box data is not retrieved from the DB in WEB Applic
How to fetch no. of days in acurrent month