Exemple #1
0
 public bool Delete(ArrayList arrQuestions)
 {
     BINROTA.DAL.SurveyQuestion objSurveyQuestion;
     try
     {
         for (int i = 0; i < arrQuestions.Count; i++)
         {
             DeleteSurveyChoices(Convert.ToInt32(arrQuestions[i]));
             objSurveyQuestion = new SurveyQuestion();
             objSurveyQuestion.Load(Convert.ToInt32(arrQuestions[i]));
             objSurveyQuestion.Delete();
         }
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }