« first day (424 days earlier)      last day (593 days later) » 

14:19
public DataTable getFinishedActiveStudents()
{
DataTable students = new DataTable();
students.Columns.Add("Student", typeof(string));
students.Columns.Add("MaxEnddate", typeof(DateTime));
students.Columns.Add("School", typeof(string));

var ActiveStudents = from s in Db.Persons
join personrole in Db.PersonRoles on s.ID equals personrole.PersonID
join rol in Db.Roles on personrole.RoleID equals rol.ID
where rol.Name.Equals("Student")
where s.Status.Equals(true)
orderby s.ForeName ascending
select new { s.ID, s.Status.Value, s.MailCode };
1 message moved from C#

« first day (424 days earlier)      last day (593 days later) »