I am reading information from a XML file into a Dataset and loading it to a webpage. I wanted to keep the format from the XML file such as line break (see code example). I loaded the xml to dataset as ds.ReadXml(filename) and loaded it do a table. How can i make line break from text in <blog> in XML file appear in webpage??
foreach (DataRow dr in ds.Tables.Rows)
TableRow tr = new TableRow();
tr.Cells.Text = "<FONT size = 2 FACE = Verdana color = #8F8672 >" + dr.ToString() + "</FONT>";