分类:
ASP.NET
IObjectSpace ios = Application.CreateObjectSpace(); GroupOperator group = new GroupOperator(); CriteriaOperator criteria = CriteriaOperator.Parse("UserName=?", "张三"); CriteriaOperator criteria1 = CriteriaOperator.Parse("UserID=?", 2); group.Operands.Add(criteria); group.Operands.Add(criteria1); CollectionSource datas = new CollectionSource(ios, typeof(Userinfo)); datas.Criteria["default"] = group; foreach (Userinfo item in datas.List) { string name= item.UserName; }
评价
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2024TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:50010702506256
欢迎加群交流技术