I'm fairly new to .net, mvc and this forum. So bear with me and thanks in advance.
I have an old database which contains a time field in the form of 'hh:mm' as a string. I cannot change the database as it is used by other applications but I need to read and write that field back to it
Ideally I'd want to split up the hours and minutes and display them as two separately drop down lists. In using mvc3 and entity framework. I though the best idea in this case would be to use a viewmodel, as what I want to return is different from what's directly in my database table, but I'm having a hard time figuring out exactly how to split this element in two, render it, and then stick it together to be updated on the database.
Can anyone recommend any good tips for how to get started on this?