Question View Hyperlinks in SQL Database with Data View Web Part

  • lundi 3 octobre 2011 16:36
     
     

    I know it is possible to format a field as Hyperlink in SPD, but what if there is only certain information in that field that is a hyperlink?

    For example: "The volume of water necessary to cover an acre of land to a depth of one foot." where acre is a hyperlink to the definition of an acre.

    What is displayed currently is: "The volume of water necessary to cover an <a href="http://www.fema.gov/business/nfip/elvinst.shtm" target="_blank">acre</a> of land to a depth of one foot."

    This information was migrated from an ASP page where a VBScript and an SQL statement were used to retrieve the database fields and the hyperlinks displayed as expected. 

    Is is possible to display hyperlinks using a Sata View Web Part? Or should I use something else to display the information? It is a list of terms with their definitions, with the definitions sometimes having links to other definitions or related information.

Toutes les réponses

  • mercredi 16 mai 2012 10:57
     
     

    emdodd,

    You can do that with a DVWP, but before I can help can you provide an idea of what your data looks like? (Or are you searching the page for terms and adding the links with JQuery?)

    Matthew


    Matthew McDermott, MVP SharePoint