Additional functions in DataColumn.Expression

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Any one know of a way to make additional functions
available in a DataColumn.Expression? I'm thinking of
things like date manipulation (DateDiff, etc.).

Is it possible to inherit from DataColumn?

Would I have to handle Changed events in the columns on
which the Expression was dependant, and then do the
calculation myself.

Are there any third party DataSet controls that would do
this kind of thing?
 
Hi Sam,

Why don't you compute manually the field?
Just use ColumnChanged event and beware of recursion.
 
Hi Sam,

As far as I know, in the DataSet in ADO.net, the only way to achieve this
is to handle the ColumnChanged event.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top