public GetConceptSimilarMesh ( Profiles.Framework.Utilities.RDFTriple request ) : System.Data.SqlClient.SqlDataReader | ||
request | Profiles.Framework.Utilities.RDFTriple | |
리턴 | System.Data.SqlClient.SqlDataReader |
public void DrawProfilesModule() { var dataIO = new Profiles.Profile.Utilities.DataIO(); StringBuilder html = new StringBuilder(); using (var reader = dataIO.GetConceptSimilarMesh(base.RDFTriple)) { while (reader.Read()) { html.AppendFormat("<li><a href='{0}'>{1}</a></li>", reader["ObjectURI"].ToString(), reader["DescriptorName"].ToString()); } reader.Close(); } // Hide section title if no Top Journals are returned if (html.ToString().Length == 0) { sectionTitle.Attributes.Add("style", "display: none;"); } else { imgQuestion.ImageUrl = Root.Domain + "/Framework/Images/info.png"; imgQuestion.Width = 11; imgQuestion.Height = 11; lineItemLiteral.Text = html.ToString(); } }
public void DrawProfilesModule() { var dataIO = new Profiles.Profile.Utilities.DataIO(); StringBuilder html = new StringBuilder(); using (var reader = dataIO.GetConceptSimilarMesh(base.RDFTriple)) { while (reader.Read()) { html.AppendFormat("<li><a href='{0}'>{1}</a></li>", reader["ObjectURI"].ToString(), reader["DescriptorName"].ToString()); } reader.Close(); } // Hide section title if no Top Journals are returned if (html.ToString().Length == 0) { sectionTitle.Attributes.Add("style", "display: none;"); } else { imgQuestion.ImageUrl = Root.Domain + "/Framework/Images/info.png"; lineItemLiteral.Text = html.ToString(); } }
public void DrawProfilesModule() { var dataIO = new Profiles.Profile.Utilities.DataIO(); StringBuilder html = new StringBuilder(); using (var reader = dataIO.GetConceptSimilarMesh(base.RDFTriple)) { while (reader.Read()) { html.AppendFormat("<li><a href='{0}'>{1}</a></li>", reader["ObjectURI"].ToString(), reader["DescriptorName"].ToString()); } reader.Close(); } imgQuestion.ImageUrl = Root.Domain + "/Framework/Images/info.png"; lineItemLiteral.Text = html.ToString(); }