Beispiel #1
0
        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);
        }
Beispiel #2
0
        private DataTable GetTaskNoteList()
        {
            var dt = TaskNoteDataManager.GetList(SessionVariables.RequestProfile);

            return(dt);
        }