42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using Ease.Core.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class ColumnDefinationException
|
|
{
|
|
public ColumnDefinationException()
|
|
{
|
|
}
|
|
|
|
public void UploadException(int uploadId, DataUploadColumnDefinition odefination)
|
|
{
|
|
switch (uploadId)
|
|
{
|
|
case (int)42: //Appraisal Point
|
|
{
|
|
this.AppraisalPoint(odefination);
|
|
break;
|
|
}
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
|
|
#region Column Defination For Appraisal Point
|
|
|
|
private void AppraisalPoint(DataUploadColumnDefinition odefination)
|
|
{
|
|
odefination.SheetName = "EmpAppraisalPoint";
|
|
odefination.Add("Employee No", "String", "No");
|
|
odefination.Add("Rating", "String", "No");
|
|
odefination.ItemThreeDateText = "Appraisal Year :";
|
|
odefination.ItemThreeDateData = DateTime.Now;
|
|
odefination.FormText = "Upload Appraisal Point";
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |