_CollectionViewSource = (CollectionViewSource)this.FindResource("EmpAttendanceViewSource"); if (dtp_Date.SelectedDate != null) { var obj = from ea in db.EmployeeAttendances join emp in db.Employees on ea.EmployeeId equals emp.EmployeeId where ea.InDate == dtp_Date.SelectedDate select new { emp.EmployeeFirstName, ea.InTime, ea.OutTime, ea.NoOfHours }; _CollectionViewSource.Source = (CollectionViewSource)obj;
<textbox text="{Binding Path=InTime, Mode=OneWay}" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)