Solved

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

Posted on 2013-05-21
1
165 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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