Exemplo n.º 1
0
 private void ClearFinalClassNames()
 {
     StringBuilder sb = new StringBuilder("Error List:");
     if (FinalClassNameList != null && FinalClassNameList.Count > 0)
     {
         foreach (FinalClassNames finalClassName in FinalClassNameList)
         {
             int delCount = 0;
             ShowFinalClasses showFinalClasses = new ShowFinalClasses();
             delCount = showFinalClasses.DeleteShowFinalClassesByShowEntryClass(finalClassName.Show_Entry_Class_ID);
             if (delCount <= 0)
             {
                 sb.AppendLine(string.Format("\nShow Final Class Delete Failed for {0}!", finalClassName.Class_Name_Description));
             }
         }
     }
     //MessageLabel.Text = sb.ToString();
 }