Click here to Skip to main content
15,123,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Sql Query is



"SELECT Count(dbo.StudentAttendancechild.Status),dbo.StudentAttendancechild.AttendanceID, dbo.StudentAttendancechild.AdmissionNo,
dbo.StudentAttendanceMaster.Class, dbo.StudentAttendanceMaster.Date
FROM dbo.StudentAttendancechild INNER JOIN
dbo.StudentAttendanceMaster ON dbo.StudentAttendancechild.AttendanceID = dbo.StudentAttendanceMaster.ID

where dbo.StudentAttendancechild.Admission='111' and dbo.StudentAttendancechild.Status='Present'
group by dbo.StudentAttendancechild.AdmissionNo, dbo.StudentAttendanceMaster.Class,dbo.StudentAttendanceMaster.Date,dbo.StudentAttendancechild.AttendanceID"




can Any one help me to write query in LINQ

Thanks in Advance........................
Posted

1 solution

There are many articles and videos[^] here on Code Project that have great explainations and examples for LINQ.

Here is one:
LINQ Introduction Part 1 Of 3[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900