Solved

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

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

20 Experts available now in Live!

Get 1:1 Help Now