Solved

How do I get rid of funny new line characters in a DataGridView

Posted on 2008-10-10
2
248 Views
Last Modified: 2013-12-17
How do I get rid of funny new line characters in a DataGridView

I have a DataGridView on my C#.net form that is pulling data from my Access database.
I update the data in the Access database by entering several lines of text from a text box then saving it to my database.

When I view the data in my DataGridView it displays the new lines with funny looking square characters.

Pleas help me!!
0
Comment
Question by:wademi
2 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 22687003
Hi wademi,

Try setting the WrapMode of the DefaultCellStyle to True.

Regards,

Wayne
0
 

Author Closing Comment

by:wademi
ID: 31505014
Thanks. That worked. you are the best
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now