Let's say I have the following classes:
Is it possible to Databind the grid to the AdressBook and have the detail tables assigned automatically to properties like Friends, Family and Colleagues ? And then Adress to contact ?
Is it doable declaratively from the aspx file ?
Public Class AddressBook
Public Property OwnerName As String
Public Property Friends As IList(Of Contact) Public Property Family As IList(Of Contact) Public Property Colleagues As IList(Of Contact)End ClassPublic Class Contact Public Property Address As Address Public Property Name As String Public Property Phone As String Public Property DateOfBirth As Date Public ReadOnly Property Age As Integer Get Return Math.Floor((Date.Now - DateOfBirth).Days / 365) End Get End PropertyEnd ClassPublic Class Address Public Property StreetNumber As Integer Public Property StreetName As String Public Property ZipCode As StringEnd ClassIs it possible to Databind the grid to the AdressBook and have the detail tables assigned automatically to properties like Friends, Family and Colleagues ? And then Adress to contact ?
Is it doable declaratively from the aspx file ?