I have a bond fields database winform app. How can I calculate a field form
one of the bound fields and show on form?
Thanks
Regards
I am an expert in cryptic answers, however in this case you are an expert in
my idea in cryptic questions.
Cor
"John" <in...@nospam.infovis.co.uk> schreef in bericht
news:O3RkoVTL...@TK2MSFTNGP06.phx.gbl...
However..one of the field does not need to be bound instead calculated from
one of the bound fields...how to do it?
Let's say DOB is coming from a bound field? How to setup a Age field which
calculates from DOB?
Regards
"Cor Ligthert[MVP]" <notmyfi...@planet.nl> wrote in message
news:%23g06Fnc...@TK2MSFTNGP06.phx.gbl...
http://www.vb-tips.com/DataBindingEvents.aspx
Cor
"John" <in...@nospam.infovis.co.uk> schreef in bericht
news:eQvRn2dL...@TK2MSFTNGP04.phx.gbl...
"John" <in...@nospam.infovis.co.uk> wrote in message
news:eQvRn2dL...@TK2MSFTNGP04.phx.gbl...
If you are binding to a datatable, you can add a calculated column to the table,
and then bind a form control to the calculated column. Lookup
DataColumn.Expression to see what kind of calculations you can do, and what the
syntax is. Age is not a great example, by the way, since it changes every second
(and always in the direction of older, dang it all).
You are right, in my opinion the best solution too.
Cor
"Steve Gerrard" <mynam...@comcast.net> schreef in bericht
news:RvKdnZKW5OREoGjV...@comcast.com...