Concatenating Two Properties for Display in a DropDownList

后端 未结 3 1220
鱼传尺愫
鱼传尺愫 2021-01-21 00:30

Background

In our last adventure, I was attempting to properly show a Dictionary>. Thanks to the helpful answers in that post, I r

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-21 00:50

    Maybe I'm missing something (didn't look at the earlier question), but why wouldn't you just do this?

    <%# Eval("Name") + Eval("Type") %>
    

提交回复
热议问题