Hi
I am getting error on Resulr.count
var Result = from t in context.View_MachineShiftDetails where t.Department == ddlDepartment.SelectedValue && t.MachineShiftID == Convert.ToInt32(hdfMachineShiftId.Value) orderby t.MachineName select new { t.MachineShiftID, t.Department, t.LocationID, t.Location, t.MachineID, t.MachineName,t.NumberOfShift }; if (Result.Count > 0)
Thanks