a guest Aug 11th, 2018 57 Never
- How do I get the first value from this collection using Linq to Entities?
- using (kdEntities db = new kdEntities())
- Label lbl = sender as Label;
- IQueryable<UserGroup> userGroups = from UserGroup in db.UserGroups where UserGroup.UgpID == 1 select UserGroup;
- foreach (var group in userGroups)
- lbl.Text = group.UgpDescription;
RAW Paste Data