private void Show(Collection <string> optionNames, PlaceHolder ph, int questionId)
        {
            IList <int> questionVoteAmountList = SurveyVote.GetQuestionVoteAmountList(DataConverter.CLng(this.HdnSurveyId.Value), questionId);

            if (questionVoteAmountList.Count <= 0)
            {
                ph.Visible = false;
            }
            else
            {
                switch (this.HdnShowType.Value)
                {
                case "Pie":
                    this.ShowChart("Pie", optionNames, questionVoteAmountList, ph);
                    return;

                case "Bar":
                    this.ShowChart("Bar", optionNames, questionVoteAmountList, ph);
                    return;
                }
                ph.Controls.Add(this.VoteTable(optionNames, questionVoteAmountList));
            }
        }
        private void ShowCountTable(Collection <string> optionNames, PlaceHolder ph, int questionId)
        {
            IList <int> questionVoteAmountList = SurveyVote.GetQuestionVoteAmountList(this.surveyId, questionId);

            if (questionVoteAmountList.Count <= 0)
            {
                ph.Visible = false;
            }
            else
            {
                switch (BasePage.RequestString("ShowType"))
                {
                case "Pie":
                    this.ShowChart("Pie", optionNames, questionVoteAmountList, ph);
                    return;

                case "Bar":
                    this.ShowChart("Bar", optionNames, questionVoteAmountList, ph);
                    return;
                }
                ph.Controls.Add(this.VoteTable(optionNames, questionVoteAmountList));
            }
        }