Hi guys,
I've been working on C# web applications for a few years now, but my boss threw me a curve ball in the shape of a VB.NET Windows application project.
All going quite well so far, but I have retrieved information from the database, populated an object and now I need to set the value in a Combobox. Sounds simple enough, but having tried:
cmbShiftStartTime.SelectedText = s.ShiftStartTime
it no longer seems so easy.
Can someone please tell me how I set the value for a Combobox?
Thanks,
Cash
I've been working on C# web applications for a few years now, but my boss threw me a curve ball in the shape of a VB.NET Windows application project.
All going quite well so far, but I have retrieved information from the database, populated an object and now I need to set the value in a Combobox. Sounds simple enough, but having tried:
cmbShiftStartTime.SelectedText = s.ShiftStartTime
it no longer seems so easy.
Can someone please tell me how I set the value for a Combobox?
Thanks,
Cash