I am simply trying to call a store procedure (SQL Server 2008) using C# and passing XMLDocument to a store procedure parameter that takes a SqlDbType.Xml data type. I am ge
you can create a XML string using following code
var doc = new XDocument(); doc.Add(new XElement("x", input.Select(x => new XElement("v", x)))); return doc.ToString();
and then pass this doc string to stored procedure as a parameter