How do I concatenate 2 resource strings together in an aspx page

前端 未结 8 2227
日久生厌
日久生厌 2021-01-04 08:27

I have a localised ASP.net application (.net 2.0). I wish to concatenate 2 strings retrieved from the resource file together into one element, something like this.



        
8条回答
  •  情书的邮戳
    2021-01-04 08:52

    This Might Be of Help

      
      
    <%= "before Message String- "+ Resources.MyResources.Message +" -After Message String " %> 
    
    
    

    Note the concatenation is not on the Text attribute but between the label element Full post can be found here

提交回复
热议问题