Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.
and NOT this (as they are now)
<?xml version="1.0" encoding="utf-8" ?> <Items> <Item Name="Afghanistan" ID="296" /> <Items>
My export Code is this;
<?xml version="1.0" standalone="yes"?> <Items> <Item> <ID>296</ID> <Name>Afghanistan</Name> </Item>
What am I missing? Please advise?
var adapter4 = new SqlDataAdapter("SELECT [Name],[ID],[PID1] FROM dbo.Countries where PID1 = 14 ORDER BY Name ASC", connection); var dt4 = new DataTable("Item"); adapter4.Fill(dt4); DataSet ds4 = new DataSet("Items"); ds4.Tables.Add(dt4); ds4.WriteXml("C:\\inetpub\\wwwroot\\XR8\\App_Data\\XML\\Countries.xml", System.Data.XmlWriteMode.IgnoreSchema);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Moving away from Access 2003 adp files||4||43|
|How do I find out to see if there is any open transaction in DB2 database ?||2||29|
|Question on sending emails using SQL Server 2008 R2 database mail||10||50|
|T-SQL: need to reset a declared variable||4||25|
Join the community of 500,000 technology professionals and ask your questions.