Greg,
>>Hmmm....that IS odd, and it's hard to figure out what's going on from here. If you copy >the DataGrid from the sample app and paste it on your form, does it maintain its columns?
One other thing to check...if the MappingName property of the DataGrid's TableStyleCollection doesn't match the name of the DataTable you are binding to the DataGrid, then your column settings will not appear at run time. Check the TableName property of your OrderDetail business object to make sure it matches what you have specified in the MappingName property (or vice-versa <s>)./
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com