TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
AnuLakshmi M
NA
12
3.4k
Datatable to XML in C#
Sep 10 2014 9:57 AM
DataSet dts = new DataSet();
dts.Tables.Add(dt);
TextWriter tw = new StringWriter();
XmlTextWriter xtw = new XmlTextWriter(tw);
dts.WriteXml(xtw, XmlWriteMode.IgnoreSchema);
stXML = tw.ToString(); //string XML Contains the XML Content
xtw.Close();
tw.Dispose();
Reply
Answers (
1
)
deleting empty spaces from csv file in visual studio
C# Code For Execute Stored Procedure