We have a column in the database that has a type of xml. I am reading this information via the .net SqlDataReader, but I\'m not sure what to cast i
xml
SqlDataReader
I use this method myself, using SqlCommand.ExecuteXmlReader();
SqlCommand.ExecuteXmlReader();
XmlDocument xdoc = new XmlDocument(); using (SqlCommand command = new SqlCommand(queryString, connection)) { XmlReader reader = command.ExecuteXmlReader(); if (reader.Read()) { xdoc.Load(reader); } }