>If lets say I have a column for Product’s price and another column for Quantity, I want to calculate the total price for my product and summarized it in a column named Total Price. How to add those columns in DataGrid?
The easiest way to do this is to create a column in the DataSet that contains this information (this encapsulates your business logic within your business object). The easiest way to do this is to add the column in your SQL statement.
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