We have a c# program that when you type in a word or whatever it finds it in the database and opens up in an accordian.

In the text that it opens up which is the description, we need to have other links within that text that you can click on and link to that word or sentence definition.

Can someone please help as to how to put links on particular words in the text in the database that when it opens you can then click on those words and it will open the link also?

Thanks.

How you define arbitrary links is dependant on DB, Tool, and or app interface support. Here is a related link that shows how someone implemented similar in a RichTextBox: http://www.codeproject.com/KB/edit/RichTextBoxLinks.aspx
You could create a parser that formats your text accordingly prior to feeding it to the control.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.