Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from customer in context.customers
- select new
- {
- Name = customer.Name,
- City = customer.Address.City
- }
- <asp:Label ID="lblCity" runat="server" Text='<%# ((Customer)Container.DataItem).Address.City%>'></asp:Label>
Add Comment
Please, Sign In to add comment