I want to use the value of the Output Parameter of a stored procedure in an InfoPath data element.
An example of a stored procedure which produces output parameters is described in http://www.infopathdev.com/blogs/jimmy/archive/2009/08/01/executing-a-stored-procedure-with-output-parameters.aspx I have run the example and understand the example up to the point of RETREIVING the two output parameters retrieved by the SELECT @squareOutput AS SquareOut, @halfOutput AS HalfOut statement. Specifically I do not understand the following quoted from the article:
Finally, we run the query, and we get back our result, with our requested values:
<dfs:myFields xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution">
<dfs:dataFields>
<d:row xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" HalfOut="529" SquareOut="11"/>
</dfs:dataFields>
</dfs:myFields>
I do not understand how to see the XML structure. More importantly, how do I load either a string or an XpathNavigator object with the HalfOut and SquareOut values?
Thank You.