20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sample Applications<br />

Example 10.25. Query.NextKey Method in ASP.NET C# codebehind<br />

//*******************************************************<br />

//- <strong>Syspro</strong>Next does the actual call to the<br />

// next Query.<br />

//*******************************************************<br />

//Parameters:<br />

//Uid:- GUID returned by Logon<br />

//XmlIn:- The input xml to be used in query<br />

//*******************************************************<br />

//Returns:- The XML returned by the Business Object.<br />

//*******************************************************<br />

string <strong>Syspro</strong>Next(string Uid, string XmlIn) {<br />

string xmlOut;<br />

Encore.Query EncoreNext = new Encore.Query();<br />

xmlOut=EncoreNext.NextKey(Uid, XmlIn);<br />

return xmlOut;<br />

}<br />

10–37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!