C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Line break in XML


Posted Date: 01 Sep 2008      Total Responses: 2

Posted By: Manjunatha       Member Level: Bronze     Points: 1


Hi Friends,
I am accessing data from database through dataset geting data through this code,
For Each dr As DataRow In samp.Tables(0).Rows
rowcount += 1

strExcelXml.Append("<td>")
strExcelXml.Append(Convert.ToString(dr(0)))
strExcelXml.Append("</td>")

strExcelXml.Append("<td>")
strExcelXml.Append(Convert.ToString(dr(1)))
strExcelXml.Append("</td>")
Next

but problem is i am getting data in continous cells in excel like below,

1 manju 2 aditya
i want get like below, how to break line in xml
1 manju
2 aditya




Responses

Author: Newman Joseph    01 Sep 2008Member Level: SilverRating:     Points: 2
HI manju

Try <br />.....



Regards,
Joseph.


Author: Vidhya    01 Sep 2008Member Level: GoldRating:     Points: 2
hi,

Use this tag <br />

Happy programming!

Regards,
Vidhya


Post Reply
You must Sign In to post a response.
Next : XmlSerializer
Previous : xml
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use