private DataTable GetTaskNoteData(int taskId) { var dt = TaskXTaskNote.GetByTask(taskId, SessionVariables.RequestProfile); var fdt = TaskNoteDataManager.GetList(SessionVariables.RequestProfile); var resultdt = fdt.Clone(); foreach (DataRow row in dt.Rows) { var rows = fdt.Select("TaskNoteId = " + row[TaskNoteDataModel.DataColumns.TaskNoteId]); resultdt.ImportRow(rows[0]); } return(resultdt); }
private DataTable GetAssociatedTaskNote(int taskId) { var dt = TaskXTaskNote.GetByTask(taskId, SessionVariables.RequestProfile); return(dt); }