Solution to this
Convert your data to xml with datatable.Writexml
how to pass this xml as a string in the stored procedure routine keeper with data type Varchar (max)
Instead of using OpenXml to create a datatable, again create the xml string you submitted.
See an example: http://msdn.microsoft.com/en-us/library/ms186918.aspx
source share