I have a situation where I need to update a table with a time retrieved from a dropdown list.
CODE...
cmd.SqlParameters.Add((@StartTime, SqlDataType.DateTime).Value =
CDate(DropDownList.SelectedItem.Text)
CODE/
While it does update the tabel row with a portion of the data (for ex.. 9/28/2007 12:00:00). I don't need the date part of the data, because all I am interested in is the time. So when the time in the dropdownlist is 4:30:00 pm, I want that time to be retrieved. Any help is appreciated.
Thanks,
Phoenix