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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding calculated column in datagrid

Thread ID:





2317 Jan 5,2003 09:56 PM UTC Jan 8,2003 06:52 AM UTC WinForms 1
Tags: FAQ
Asked On January 5, 2003 09:56 PM UTC

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 06:52 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon