Hi! I have one server running W2K Server & SQL Server & COM+. I want to write a small application using VB. The client interface collect some data from the client, and i want to write those informations in a SQL Database, using XML (to make only one call to SQL Server). I created the stored procedure that have a parameter which is the XML String. The XML string is something like that:
<root>
<message>Call Michael</message>
....... (let's say that there are 5 elements
</root>
I have 2 options for implemeneting the client:
1. The client call 5 times a method of the COM+ class, the class create the XML document and pass it to the stored procedure
2. The client create the XML document, pass the document as a parameter of the method, and the class pass it to the stored procedure.
Which option is faster or recommended?
Thanks! Have a nice day!
<root>
<message>Call Michael</message>
....... (let's say that there are 5 elements
</root>
I have 2 options for implemeneting the client:
1. The client call 5 times a method of the COM+ class, the class create the XML document and pass it to the stored procedure
2. The client create the XML document, pass the document as a parameter of the method, and the class pass it to the stored procedure.
Which option is faster or recommended?
Thanks! Have a nice day!