Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-10-10
2
250 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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

791 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