Mvc4在Linq的分组中得到布尔值 [英] Mvc4 get boolean value in grouping by Linq

查看:69
本文介绍了Mvc4在Linq的分组中得到布尔值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



我试图在MVC4中获得一个布尔值返回模型。我使用linq的group new {}选项但无法将bool值返回给模型。



请建议我解决方案。



谢谢

Chinna



I''m trying to get a boolean value in MVC4 return to the model. I used group new {} option by linq but cannot able to return the bool value to the Model.

Please suggest me the solution.

Thanks
Chinna

推荐答案

你能提供一些你所做的代码,并描述你的意思吗?正在努力实现?这样会更容易提供帮助。
Could you provide some code of what you did, and describe what you are trying to achieve? That way it will be easier to help.


这篇关于Mvc4在Linq的分组中得到布尔值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆