When a user selects a name from the combo box, I want to select his record from the DB. How do I do this. I tried the funtion SelectedText but it does not give me the actual text when I put it in the MSGBOX. .... ?
Printable View
When a user selects a name from the combo box, I want to select his record from the DB. How do I do this. I tried the funtion SelectedText but it does not give me the actual text when I put it in the MSGBOX. .... ?
Try using just the text property. If the user selects their name, it becomes the text in the combo box.
amm .... not sure what that is ... I'm very naive at .NET ... Just did a project at Uni. and that's about it. So, not so well versed you see ... if you could explain a bit more in detail.
Thanks for replying ....
as hellswraith said like this.. :
VB Code:
Myrecord ......= ComboBox1.Text