Date: 07/09/06 (C Sharp) Keywords: no keywords Is there a way to tell a control to bind to an object that's a propery of another object? public class Cat { public string Name; public Dog Enemy; } public class Dog { public string Name; } Is there a way to bind a control to someCat.Enemy.Name? I'm specifically using a DataGridViewTextBoxColumn, and I want to set the DataPropertyName (this is similar to using a DataGrid though). Please save me from having to load everything manually!
|