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

前端 未结 8 2226
日久生厌
日久生厌 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 09:00

    I know you said you tried eval but what about something like this:

    Text='<%# string.Format("{0}{1}",Eval("lw_name"),Eval("lw_required")) %>'

提交回复
热议问题