开发者

razor dynamic name of the class

开发者 https://www.devze.com 2023-02-22 06:32 出处:网络
<span class=\"abc\">abc</span> I want to have @postid as well in there so that the name of the class 开发者_StackOverflow社区is generated as abc123. How can i do that?You can try this:
<span class="abc">abc</span>

I want to have @postid as well in there so that the name of the class 开发者_StackOverflow社区is generated as abc123. How can i do that?


You can try this:

<span class="abc@(postid)">abc</span>
0

精彩评论

暂无评论...
验证码 换一张
取 消