private void method_7() { this.TableName = "SurveyRandomBase"; SurveyRandomBaseDal surveyRandomBaseDal = new SurveyRandomBaseDal(); this.lSurveyRandomBase = surveyRandomBaseDal.GetList(); this.DataGrid1.ItemsSource = this.lSurveyRandomBase; }