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 />

10.4. Building the Basic Blocks of an Application<br />

Now that you have seen some of the underlying requirements for building an application<br />

with e.<strong>net</strong> solutions, we will start building the foundation of a fully functional e.<strong>net</strong><br />

solutions application. We will first look at the namespaces needed to set up the<br />

application's .NET environment, then we will discuss and supply sample functions that<br />

utilize the SYSPRO class methods. We will then look at calling these method functions,<br />

and finally we will present some Business Processes that demonstrate the use of the<br />

method functions and XSL output to the application.<br />

10.4.1. Setting up the environment<br />

Example 10.6. Import .NET Namespaces in ASP.NET VB<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Example 10.7. Import .NET Namespaces in ASP.NET C# codebehind<br />

Imports System<br />

Imports System.Web.UI<br />

Imports System.Web.UI.WebControls<br />

Imports System.Data<br />

Imports System.Xml<br />

Imports System.Xml.Xsl<br />

Imports System.Xml.XPath<br />

Imports System.IO<br />

Imports System.Text<br />

Imports Encore<br />

10–19

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

Saved successfully!

Ooh no, something went wrong!