Skip to main content


developerWorks  >  Information Management  >

U2.NET -- Develop a native MultiValue style master-detail application

Discover rapid .NET application development using U2.NET's Visual Studio Integration

developerWorks

Level: Introductory

Gopakumar Padmanabhan (gpadmana@us.ibm.com), Software Engineer, IBM

27 Mar 2008

Register now or sign in using your IBM ID and password.

This tutorial introduces IBM® UniData® and UniVerse® (U2) MultiValue add-ins for Visual Studio (U2.NET), IBM's new development tool for U2 MultiValue .NET applications. Develop a U2 MultiValue style master-detail application in C# in Visual Studio 2005. U2.NET’s Visual Studio integration is demonstrated. Then quickly put together a .NET purchase order application from a Visual Studio 2005 environment. The demo database that was installed as part of your standard U2.NET Developer installation is used.

Objectives

  • Create a Windows forms application

  • Create an application to browse the U2NETDEMO file, SALESORDER

  • Create three logically connected grids to navigate through the Sales Order hierarchy in the SALESORDER file

  • Use U2.NET's linked data sources capability to extend the logical hierarchy beyond the three levels

  • Create a fourth grid control to browse the ORGANIZATION file, and then link this grid control to the other three you developed in Step 1

Prerequisites

You should be familiar with UniData and UniVerse as well as Visual Studio.


System requirements

In order to use U2.NET, you need to have the following environment:

  • Windows XP
  • UniData 7.1 or UniVerse 10.2
  • Microsoft .NET Framework 2.0
  • Visual Studio 2005

To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Duration

1 hour


Languages

French, Japanese


Formats

html, pdf


Summary minor heading

This tutorial uses Visual Studio 2005 to create a Windows forms application in two stages. In Step 1, you create an application to browse the U2NETDEMO file, SALESORDER. The SALESORDER file has a three-level hierarchy of nested data: order, orderlines, and deliveries. You use U2.NET to create three logically connected grids to navigate through the Sales Order hierarchy in the SALESORDER file.

In Step 2, use U2.NET's linked data sources capability to extend the logical hierarchy beyond the three levels. The U2NETDEMO file, ORGANIZATION, holds both customers and suppliers. By using a select clause (SELECT ORGANIZATION WITH TYPE = "C"), you can fetch only customers. Also in Step 2, create a fourth grid control to browse the ORGANIZATION file, and then link this grid control to the other three you developed in Step 1, to create a four-level hierarchy that starts with customers and then drills down to customer orders, order lines, and deliveries.

Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss