Alberto,
There is a constructor that takes the year, month, and day, so you could
do this:
// Get the datetime.
DateTime dateTime = new DateTime(year, month, day);
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Alberto" <al*****@nospam.com> wrote in message
news:um**************@TK2MSFTNGP09.phx.gbl...
I've got three fields with the components of a date (day, month and year).
How can I join the components in a DateTime field?
Thank you.