Thank you! OK, so the database may realize what's going on, but it's literally passing the newline as characters and I have to manually convert that into an HTML element if I want the webpage to display properly.
Another question. The context makes sense in the string examples that I've been able to Google on the replace method, e.g. myString = myString.Replace(System.Environment.NewLine, "<br />");
But I'm a little less clear how this will work in my situation. I'm adding the field to the gridview as a bound field on the .aspx page.
e.g. <asp:BoundField DataField="DataEntry" HeaderText="Data" />
I'm assuming that I'll be using DataEntry.Replace(System.Environment.NewLine, "<br />"); somewhere in my code behind?
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of
www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.