ParseSurveyResults() public method

public ParseSurveyResults ( Position position ) : void
position Position
return void
        protected void Page_Load(object sender, EventArgs e)
        {
            SurveyResults surveys = new SurveyResults();

            surveys.ParseSurveyResults(currentPosition);

            List <SurveyResults> surveyResults = new List <SurveyResults>();

            surveyResults.Add(surveys);

            gviewSourcesCount.DataSource = surveyResults;
            gviewSourcesCount.DataBind();

            gviewSourcesText.DataSource = surveyResults;
            gviewSourcesText.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            SurveyResults surveys = new SurveyResults();
            surveys.ParseSurveyResults(currentPosition);

            List<SurveyResults> surveyResults = new List<SurveyResults>();
            surveyResults.Add(surveys);

            gviewSourcesCount.DataSource = surveyResults;
            gviewSourcesCount.DataBind();

            gviewSourcesText.DataSource = surveyResults;
            gviewSourcesText.DataBind();
        }