C#中怎么在后台里把一个集合里的值用一个对象来接收?
Userinfouser=newUserinfo();IList<Userinfo>ui=newUserinfoManage().GetAll();varitem=fro...
Userinfo user = new Userinfo();
IList<Userinfo> ui = new UserinfoManage().GetAll();
var item = from a in ui where a.NiName == id select a;
foreach (var a in item)
{
}
怎么用 user来接收? 展开
IList<Userinfo> ui = new UserinfoManage().GetAll();
var item = from a in ui where a.NiName == id select a;
foreach (var a in item)
{
}
怎么用 user来接收? 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询