I have seen several people looking for a way to access the Columnscollection when using the AutoGenerate = true option. Somepeople have gotten so far as to find the private autoGenColumnsArraythat has the information, but we as developers have no way to accessthis information.I have come up with a solution for the problem, (as I am sure manyothers have) using reflection. Here is some sample code that willprint out the auto generated column names from a datagrid.As stated, this code uses reflection....