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
veerendra kumar
NA
47
20.5k
get data from the table
Jun 1 2015 4:59 AM
hi
i am using entity frame work in asp.net application.
Empid
login
1
102
2
103
3
104
how to get only one login of the empid=1 empid is primary key.
public static int GetLogid(int eid)
{
int res;
int bid = (from a in Entities.EmpLog
where EmpId==eid
select a.logId).First();
return res;
}
in the above format raise the error. int? to int
Reply
Answers (
2
)
Show File
To insert Checkbox values in database with Entity Framework?