954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how can i display a text from database intro a texttbox

hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i want to appear in textbox the details for that product.How can i do that?i've tried with another listbox and it works but the text is too long and i can't make changes in my databases with \r\n or i don't know...
could you please help me?

stefilina
Newbie Poster
13 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 
hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i want to appear in textbox the details for that product.How can i do that?i've tried with another listbox and it works but the text is too long and i can't make changes in my databases with \r\n or i don't know... could you please help me?

Hi,

You could use a textbox and on the top right hand side there's an option that tells you to enable multi-line. Or you can use Richtextbox and if you are using a data source click on the type rather than a listbox use a textbox or any other container.

angelmichael4
Newbie Poster
7 posts since Apr 2010
Reputation Points: 10
Solved Threads: 1
 

Thank you..

stefilina
Newbie Poster
13 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: