B
Brian Smith
I have a typed DataSet populated from a SQL query. To the columns
returned by the query I have added a calculated column with an
expression of the form Quantity * UnitPrice, but after filling the
DataSet with a DataAdapter the expression column remains at the default
value of zero regardless of the Quantity and UnitPrice values.
These records are edited in a DataGrid, so I can't always rely on the
SQL query to perform the calculation. Is there some trick to getting
expressions to work?
All the examples I've seen appear to add the expression column to an
(untyped) dataset after loading the data. This isn't possible with a
typed DataSet....HELP!
brian smith
returned by the query I have added a calculated column with an
expression of the form Quantity * UnitPrice, but after filling the
DataSet with a DataAdapter the expression column remains at the default
value of zero regardless of the Quantity and UnitPrice values.
These records are edited in a DataGrid, so I can't always rely on the
SQL query to perform the calculation. Is there some trick to getting
expressions to work?
All the examples I've seen appear to add the expression column to an
(untyped) dataset after loading the data. This isn't possible with a
typed DataSet....HELP!
brian smith