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
howard.kline
NA
15
0
Looping through a dataset that hsa been filled with an XML document
Mar 4 2004 5:53 PM
Hi, I am trying to read in and parse an XML document so that I can enter the data to a SQL database. I have gotten this far: private void button2_Click(object sender, System.EventArgs e) { DataSet myDataSet = new DataSet(); myDataSet.ReadXml("c:\\test1.xml"); foreach(DataTable dt in myDataSet.Tables) { Console.WriteLine("Table Name : {0}",dt.TableName); foreach(DataColumn dc in dt.Columns) { Console.WriteLine("Column : {0}",dc.ColumnName); } } } Is there any way to read the values from the dataset? Thanks,
Reply
Answers (
2
)
adding elemts to a xml file (formating problem)
binding string to a datagrid