Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2490
ICollection
posted

Hi,

When a bind data with ICollection property and Count = 0 I can Initialize my column

ugrdAddressMailling.DataSource = Customer.AddressMailling;

But If I bind with List<t> and count = 0 I can Initialize them.

ugrdAddressMailling.DataSource = Customer.AddressMailling.ToList()

There are solution to initialize my columns with ICollection when the count is 0 ?