protected void LoadRecentAssessments() { try { //Code here to find latest N number of assessments created... //grdRecentAssessments.DataSource = DataProxy.GetRecentAssessments(); //grdRecentAssessments.DataBind(); //grdRecentAssessments.EmptyDataText = DataProxy.LoadString("NORECORDSFOUND", strCurrentLanguage); string strLocalName = ""; string strDate = ""; string strUser = ""; string strCountry = ""; string strLiteral = ""; DataTable dtAssess = DataProxy.GetRecentAssessments(); for (int i = 0; i < dtAssess.Rows.Count; i++) { strLocalName = dtAssess.Rows[i]["DisplayName"].ToString(); strDate = dtAssess.Rows[i]["DateCreatedDate"].ToString(); strCountry = dtAssess.Rows[i]["CountryName"].ToString(); //Feb 2018 - Want to see full name, not username: //strUser = dtAssess.Rows[i]["UserName"].ToString(); strUser = dtAssess.Rows[i]["FullName"].ToString(); string strURL = "AssessmentResults.aspx?AssessmentID="; strURL += dtAssess.Rows[i]["AssessmentID"].ToString() + "&SpeciesID=" + dtAssess.Rows[i]["SpeciesID"].ToString(); strLiteral += DataProxy.CreateLiteralRecentAdditions(strLocalName, strUser, strDate, strCountry, strURL); //strLiteral += "<br />"; } ltRecentAssessments.Text = strLiteral; } catch (Exception ex) { ltRecentAssessments.Text = ex.Message; } }