private void method_3()
        {
            this.TableName = "SurveyDefine";
            SurveyDefineDal surveyDefineDal = new SurveyDefineDal();

            if (this.IsFilter)
            {
                this.lSurveyDefine = surveyDefineDal.GetListByPageId(this.FilterPageId);
            }
            else
            {
                this.lSurveyDefine = surveyDefineDal.GetList();
            }
            this.DataGrid1.ItemsSource = this.lSurveyDefine;
        }
Beispiel #2
0
        public List <SurveyDefine> GetSurveyDefine()
        {
            SurveyDefineDal surveyDefineDal = new SurveyDefineDal();

            return(surveyDefineDal.GetList());
        }