20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sample Applications<br />

Example 10.23. Query.Browse Method in ASP.NET C# codebehind<br />

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

//- <strong>Syspro</strong>Browse does a browse on a given table.<br />

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

//Parameters:<br />

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

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

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

//Returns:- The XML returned by the business object.<br />

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

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

string xmlOut;<br />

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

xmlOut = EncoreBrowse.Browse(Uid, XmlIn);<br />

EncoreBrowse = null;<br />

return xmlOut;<br />

}<br />

10–35

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

Saved successfully!

Ooh no, something went wrong!