Forum Discussion
artur0409
13 years agoOccasional Contributor
I got answer from SmartBear on my previous case to use such syntax - so DataType seems to be correct - quote:
Hello,
Here is code that should work for you
[C#Script]
// ...
Cmd["CommandText"] ="dbo.Bin_DeleteItems";
Cmd["CommandType"] = DB["adCmdStoredProc"];
var param = Cmd["Parameters"]["AddParameter"]();
param["Name"] = "XMLListOfIds";
param["DataType"] = DB["adPersistXML"];
param["Direction"] = DB["adParamInput"];
param["Value"] = XmlString;
RecSet = Cmd["Execute"]();
// ...
Best regards,
Jay
Related Content
- 9 months ago
Recent Discussions
- 13 hours ago