阅读背景:

使用MVC将数据导入局部视图或布局

来源:互联网 

I want to display information about the logged in user (username, company name, number of notifications, etc) in the layout and/or partial views. These will be common on every page. Is there a trick for getting this data to them, or is it a case of extending each model to have this information in them?I want to display information about the logged




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: