.NET Framework - .Data.sqlXml

Asked By Tony on 08-Feb-12 08:11 AM

I am using an application that is an example application from a Book but the
program is using
Microsoft.Data.SqlXml so I get the following error
Error 3 The type or namespace name 'Data' does not exist in the namespace
'Microsoft' (are you missing an assembly reference?)
C:\Users\Tony\programmering\Chapter Samples\C#\Chapter_12\Program.cs 7 17

So I have looked in the References to find some dll to add so this namespace
can be found but have not found any.

I use VS 2010 and Sql server 2008.
So where can I found DLL where this namespace is located ?


Jason Keats replied to Tony on 08-Feb-12 10:04 AM
Maybe you need to install SQLXML.

Frank replied to Tony on 08-Feb-12 10:06 AM
Go to Project->Add Reference, then hit System.Data.SqlXml in the .Net tab.


Regards, Frank
bradbury9 replied to Tony on 08-Feb-12 10:08 AM
Add the reference to the proyect. It appears at the .NET tab in the

If you cant find the assembly in your computer go check microsoft
website http://www.microsoft.com/download/en/search.aspx?q=sqlxml