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
Mukesh Kumar Tiwari
NA
980
252.6k
Do not geting all from both table in linq to sql reporting ?
Sep 5 2013 8:23 AM
hi frnds
i m going to generate a Cristal report in vs 2008. and i m using join but i dnt get the records from another table.Means i get record from course table only.
My Code is here:
var stud_info = (from student in obj_link.students
join course in obj_link.courses
on student.course_id equals course.id
select new
{
student.stud_id,
student.student_name,
student.address,
student.city,
student.mobile_no,
course.course_name,
course.course_desc
}).ToList();
CrystalReport1 rpt = new CrystalReport1();
rpt.SetDataSource(stud_info);
crystalReportViewer1.ReportSource = rpt;
Records r retrieving only from course table.
pls give response...
thanks to all
Reply
Answers (
2
)
How to get data and columns from linq dynamically
using linq query to select count