assigning array of objects to datasource of a datagridview (want object properties to become the columns)
Posted on 2006-06-15
I have code like:
dataGridView1.DataSource = FunctionWhichReturnsArrayOfCustomObject();
I want this array of objects to be displayed in the datagridview, with the public properties becoming the columns. However, it isnt working. Is there anything additional i need to do?