You can't. You need to write code that takes the date from the control, and then passes it to the database. There is no connection between the database and the calendar control directly.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert