?
Solved

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

Posted on 2008-10-10
2
Medium Priority
?
254 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
[X]
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
2 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

765 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