Click here to Skip to main content
15,742,655 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a table, which has two columns.
I have loaded the first column data to a list box, and I can search its values using textbox, now I want to fetch a specific value to richtextbox from the second column of my table,when I select a value(item) on the listbox.
So,what's the logic for?

What I have tried:

I have searched google, and youtube but could not found any solution.
Updated 27-Sep-19 5:14am

1 solution

Read the value from the listbox, and use that to identify the row in your table in which it is located. You can then use that row information to access the second column data.

Sorry, but your problem description is so generic, and there are so many, many ways you might have coded this that we can't be in any way specific.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900