private void Initialize() { try { Assessment ass = new Assessment(); GridViewAssessment.DataSource=ass.GetAllAssessmnet(); GridViewAssessment.DataBind(); } catch (Exception ex) { } }
private void PopulateGrid() { Assessment As = new Assessment(); gridAssessment.DataSource = As.GetAllAssessmnet(); gridAssessment.DataBind(); }
private void PopulateAssessmentForNewDomain() { ddlAssessment.Items.Clear(); Assessment ass = new Assessment(); Collection<Assessment> assList = new Collection<Assessment>(); assList = ass.GetAllAssessmnet(); foreach (Assessment assment in assList) { ddlAssessment.Items.Add(assment.AssessmentName); } }