Click to See Complete Forum and Search --> : how to use 2 values as one inserted into one field?


roi8877
07-14-2008, 07:01 PM
the two values i want to use are selectedate on the calender and the time the user will input via a details view submit form.

any ideas?

thanks

Hack
07-15-2008, 08:27 AM
Welcome to DevX :WAVE:

And you want both to go into a single field?

Assuming you already now how to use the calendar to get the selected date, simply concatenateDateTime.Now.ToString("hh:mm:ss") to that, and do the database INSERT.

roi8877
07-21-2008, 11:53 PM
I suppose the trick was to use a details view to insert the data. I'm using vwd 2008. I ended up just creating dropdowns to input time and a button to submit event. I than concaternate on buttons onclick event.

Seems there isn"t much flexibility on detail views insert form accept data binding to some control.

Hack
07-22-2008, 08:22 AM
So, did your problem get solved or do you still have questions?