Solved

getting a display value from a given id in combobox in vb.net

Posted on 2013-05-21
1
164 Views
Last Modified: 2013-05-27
I have a combobox  populated with titlename and title id.    its displaymember set to  titlename  and  valuemember set to title id.

now at runtime  i am getting title id from db and i want to have corresponding  title name to be displayed in the combobox.

can somebody suggest on how to do it in vb.net
0
Comment
Question by:venkataramanaiahsr
1 Comment
 
LVL 14

Accepted Solution

by:
quizwedge earned 500 total points
ID: 39184943
You should be able to do combobox.selectedvalue = your_value
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question