We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Adding calculated column in datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

2317 Jan 5,2003 04:56 PM Jan 8,2003 01:52 AM Windows Forms 1
loading
Tags: FAQ
Shaneil
Asked On January 5, 2003 04:56 PM

how do I add a column which has calculated values from 2 columns in a datagrid. eg. itemno Unitcost NoUnits Total ------------------------------------------ 1a 2-00 3 ? 2f 11-00 7 ? How do i calculate the total column

Administrator [Syncfusion]
Replied On January 8, 2003 01:52 AM

You can add an Expression column to the underlying DataTable. George Shepherd's Windows Forms FAQ contains an entry entitled: How do I use the DataColumn.Expression property to add a computed/combined column to my datagrid? Check it out at: http://www.syncfusion.com/faq/winforms/search/904.asp

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;