c# - How to get value of table instead of Id -


i have asp.net project try data asp:repeater. in moment value using <%# eval("categoryid") %>, need instead of company.categoryid company.category.categoryid, how can in asp.net? in mvc i'm using displayfor(x => x.company.category.categoryid), here have smth similar?

this next part of https://stackoverflow.com/questions/23193852/how-to-display-value-in-asprepeater

you can evaluates object properties below,

<%# ((company)(container.dataitem)).category.categoryid %> 

Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -