Great Solution - DataWindow.net (2)

zhaozj2021-02-08  252

Download a prerequisite software and configuration environment

1. Since the installation process is too lengthy, it does not put it in this part of the experiment, but put it in Annex 1 behind this document. When you download the installed software, then configure the system, go back to the following steps.

Try an example in advancefully created

2. In order to check your development environment, we first complete a complete example. This will allow you to have a quick understanding of some of the features of DataWindoe.Net. Once you have completed this stage, you can:

l Open a .NET solution

l What is the quote from DataWindow and DataWindowInterop?

l Run a sample system for a DataWindow sales order.

l Determine the key part of the Form

l Know how to view the library in an object browser

l Find the DataWindow component in the menu

3. Find the directory "C: / Tempsi / SaleOrder" and double-click the SaleOrder solution file used to demonstrate. This will open Visiual Studio and the SaleOrder solution created by Visual Basic.net.

Transport failed to transfer to cancel

4. Select View / Solution Explorer Open the project's solution window, expand the folding reference, you can see the following picture:

Transport failed to transfer to cancel

5. Note DataWindow and DataWindowInterop Quote: This is the library when "DataWindow" required by your .NET solution. Select any one, right-click View Properties, you can find that they are installed in the Sybase directory.

6. Right-click the DataWindow reference, select the object browser. You can see some things like the picture below? This is the object in the DataWindow namespace.

Transport failed to transfer to cancel

7, from the generated menu, select the generated solution. You should be able to correctly compile this solution, otherwise, please re-look at Annex 1 and check if your configuration is correct.

8, run the program, you can see as follows. Try to add a few order information using 'add items' twisting. Fill in each set of input fields for each set. Click the 'Update' button to create a new order.

Transport failed to transfer to cancel

9. If you have already filled out all the domains as shown above, then you will see a successful message prompt telling you that new order has been created. If you have an exception when you are running, then the biggest possibility is that you didn't fill in a domain. Because this is just a simplest, most basic example, does not add a complete error handling code inside.

Transport failed to transfer to cancel

Query tool

10, now there is a string order data in the database, you can find it. Press 'Query' torsion, the form will clear so you can enter the order number you just created. Click 'Retrieve', you will return the details of the 2655 # order.

Transport failed to transfer to cancel

You can see the details of the order.

Transport failed to transfer to cancel

11, take the time to check the code of these two forms in this project.

12, congratulations! You have successfully tested your DataWindow.net development environment.

转载请注明原文地址:https://www.9cbs.com/read-1804.html

New Post(0)