Exemplo n.º 1
0
 public static void NotesContent(ref TextBox myText, string action, string userID, string appraisalYear, string appraisalSchool, string appraisalSession, string employeeID, string apprRole)
 {
     if (action == "Get")
     {
         myText.Text = AppraisalDataAC.NotesContent(action, userID, appraisalYear, appraisalSchool, employeeID, appraisalSession, apprRole);
     }
     else
     {
         string value  = myText.Text;
         string result = AppraisalDataAC.NotesContent(action, userID, appraisalYear, appraisalSchool, employeeID, appraisalSession, apprRole, value);
     }
 }
Exemplo n.º 2
0
 public static void CheckList(ref CheckBoxList cList, string action, string category, string area, string itemCode, string userID, string appraisalYear, string appraisalSchool, string appraisalSession, string employeeID)
 {
     if (action == "Get")
     {
         string sValue = AppraisalDataAC.NotesContent("Chose", userID, appraisalYear, appraisalSchool, employeeID, appraisalSession, category, area, itemCode);
         if (sValue.Length > 0)
         {
             myList.SetListValue(cList, sValue);
         }
     }
     else
     {
         string sValue = getCheckBoxListValue(ref cList);
         string result = AppraisalDataAC.NotesContent("Chose", userID, appraisalYear, appraisalSchool, employeeID, appraisalSession, category, area, itemCode, sValue);
     }
 }