Design and Consume DataWindows in Visual Studio 2005

Slides:



Advertisements
Similar presentations
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
Advertisements

1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
PowerBuilder 11: .NET Web Forms
Creating a Dialog-Based Comet Windows Program Brian Levantine.
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
PowerBuilder.NET Guided Tour. PowerBuilder A New PowerBuilder IDE for.NET Development.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Easy HTML DB. Michael Cunningham Developer/Database Administrator.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
ASP.NET Programming with C# and SQL Server First Edition
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Using Visual Basic 6.0 to Create Web-Based Database Applications
IE 411/511: Visual Programming for Industrial Applications
Introducing Reporting Services for SQL Server 2005.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
PowerBuilder Online Courses - by Prasad Bodepudi
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
Demo: Power Tools for P8 Presenter: Jay Bowen Demonstration Topic: Choice List Features Demo URL below Power Tools Choice List Support 1. Native P8 Choice.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
PowerBuilder Online Courses - by Prasad Bodepudi Database Painter Primary & Foreign Keys Extended Attributes PowerBuilder System Tables Database Profiles.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Module 10: Data Access in ASP.NET. Overview Overview of the ASP.NET Data Access What is Data Access List of Data Source Control What is Data Bound How.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
C# Programming: From Problem Analysis to Program Design1 Visual Studio Configuration C# Programming: From Problem Analysis to Program Design 4th Edition.
Introduction ITEC 420.
Dive Into® Visual Basic 2010 Express
Visual Basic 2010 How to Program
Chapter 2: The Visual Studio .NET Development Environment
Working in the Forms Developer Environment
Chapter 1: An Introduction to Visual Basic 2015
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
VISUAL BASIC.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Brief description on how to navigate within this presentation (ppt)
CIS16 Application Development – Programming with Visual Basic
Microsoft Office Access 2003
Microsoft Office Access 2003
Database Applications
Chapter 10 Accessing Database Files
Programming with Microsoft Visual Basic 2008 Fourth Edition
Presentation transcript:

Design and Consume DataWindows in Visual Studio 2005 Geogy Zachariah, Staff Software Engineer Sybase Inc. geogyz@sybase.com Abdul Azeez, Staff Software Engineer Sybase Inc. azeez.abdul@sybase.com

Agenda What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005 Consume DataWindows in Visual Studio 2005 Web Service DataWindow

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005. Consume DataWindows in Visual Studio 2005. Web Service DataWindow.

What is DataWindow? Very popular Sybase patented technology. Used by many tools to build data-driven applications PowerBuilder, Pocket Builder, DataWindow .NET, Sybase Workspace (JSF DataWindow) Based on heterogeneous data sources (viz. major RDBMS, ODBC, Flat files etc) Newly added data source is Web Service Can be designed in different presentation styles Freeform, Tabular, Grid, Graph, Cross Tab, Composite, Rich Text etc. DataWindow consists of 2 parts DataWindow Object, the METADATA describing data source and presentation DataWindow Control, the VISUAL CONTAINER for the DataWindow Object. (DataStore is NON VISUAL CONTAINER for DataWindow object)

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005. Consume DataWindows in Visual Studio 2005. Web Service DataWindow.

DataWindow .NET 2.5 New Features DataWindow Designer Plug-in for Visual Studio 2005 Creating/Editing datawindow objects within VS 2005 IDE Manage DataWindow projects in VS 2005 IDE Solution Treeview Web DataWindow for ASP.NET Web Application Render data in a hierarchical (treeview) presentation formation in Web Page. WebService as a DataWindow source. Design datawindow objects based on Web Service methods.

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005 Consume DataWindows in Visual Studio 2005 Web Service DataWindow

DataWindow Designer in Visual Studio 2005 DataWindow Designer Visual Studio Plug-in Distributed as a set of Visual Studio packages DataWindow Project package. DataWindow Painter package. Database Painter package. Query Painter package. Note: package is a Microsoft terminology for plug-in

DataWindow Designer in Visual Studio 2005 DataWindow Designer Visual Studio Plug-in Architecture Packages Interop Layer Visual Studio IDE PB Internal Libraries DWDPlugout DW Project Package DW Painter Package DB Painter Package Query Painter Package

DataWindow Project Manage DataWindow Projects in VS 2005 IDE Solution Explorer New custom project type (.dwproj) is registered in VS 2005 DataWindow projects are created in VS 2005 like C# or VB project. Projects are hosted in the VS 2005 Solution Explorer..

DataWindow Project Continued… Native Context menu items preserved for PowerBuilder and Standalone DataWindow Designer users. Additional Context menu items added to make it Visual Studio 2005 compliant. Example: UnloadProject, ReloadProject.

DataWindow Project Continued… Features of DW Project package New or existing DataWindow Project files can be added to the VS 2005 Solution Explorer Create or add existing DataWindow repository file (.pbl) Create or Edit DataWindow/Query Objects Copy and Move datawindow, query objects across pbl files Export/Import datawindow, query objects to/from text files (.srd, .srq)

DataWindow Painter A functionality to visually design DataWindow objects in VS 2005 IDE. DataWindow Painter is hosted in VS 2005 as a Document Window. Contains all the design time views available in Standalone DataWindow Designer.

DataWindow Painter Continued… Supports most of the DataWindow Presentation Styles Unsupported DataWindow Presentation Styles RichText, OLE.

DataWindow Painter Continued… All the DataWindow Painter related menus integrated in VS 2005 IDE

DataWindow Painter Continued… DW Properties View are completely rewritten to fit Visual Studio Properties Grid format Property naming follows the Visual Studio naming conventions . Alphabetical / Categorized View. New Categorization of properties. Expression dialog invocation mechanism changed. DW Graphical controls (Gobs) are registered with the Visual Studio ToolBox.

DataWindow Painter Continued… DataWindow SQL Data Source is invoked in a Modal Dialog Supports both Graphical and Syntax view for the SQL Query

DataWindow Painter Continued… Code View (Edit Source) is shown in a newly developed Visual Studio File Editor.

DataWindow Painter Continued… Quick Demo

Database Painter Database Painters is invoked from View  Database Painter menu item. Hosted in the Visual Studio 2005 as a dockable/ floating/ tabbed Window. Has all the functionalities of the Standalone DataWindow Designer’s Database Painter. All the menus are integrated with the Visual Studio 2005 IDE.

Database Painter Continued… Most of the database work can be done using Database painter Tasks you can perform in Database painter are Create or Modify Database profile Connect to a database Modify database objects Graphically Display Tables Manipulate Data Execute SQL statements (Create Stored Procedures etc.) Define or Modify Extended Attributes Access Database Utilities

Query Painter in Visual Studio 2005 Query Painter is hosted in the Visual Studio 2005 as a Document Window. Has all the functionalities of the Standalone DataWindow Designer’s Query Painter. All the menus are integrated with the Visual Studio 2005. Supports code view.

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005. Consume DataWindows in Visual Studio 2005. Web Service DataWindow.

Designing DataWindows in Visual Studio 2005 Typical workflow to create DataWindow Objects in Visual Studio 2005. Create a new DataWindow Project in Visual Studio solution similar to any C# or VB project Create a new DataWindow Repository file (.pbl) in the DataWindow Project. Configure database connections needed using Database painter. Create the DataWindow objects of your choice of style and based on the required criteria.

Designing DataWindows in Visual Studio 2005 Typical workflow – continued. Make many different customizations to the DataWindow object’s appearance (viz. Fonts, TextColor, Column Border etc). Also, add an existing DataWindow repository file (.pbl) to an existing open DataWindow Project Migrating previous versions of DataWindow projects (.dwp) created in Standalone DataWindow Designers 1.0/1.5 or 2.0 is also possible.

Designing DataWindows in Visual Studio 2005 Designing DataWindows – In Action

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005. Consume DataWindows in Visual Studio 2005. Web Service DataWindow.

Consume DataWindows in Visual Studio 2005 “Consume” would mean how the DataWindow object is utilized in the .NET Windows application or ASP.NET Web Form application

Consume DataWindows in Visual Studio 2005 To consume in .NET Windows Application Create a new C# or VB.Net Windows Application in VS 2005. Drag & Drop a DataWindow Control from DataWindow .NET tab of VS 2005 Tool Box on the Windows Form. Set the LibraryList and DataWindowObject properties for the DataWindow Control. Drag & Drop Transaction object from the ToolBox on the Windows Form and set appropriate database properties. Write few lines of C# or VB.Net code to connect to the database and call the retrieve method.

Consume DataWindows in Visual Studio 2005 Editing the DataWindow object in VS 2005 .NET Windows Application Launches the DataWindow painter containing the underlying data window object, if the (.dwproj) project exists in the same Solution. If there is no dependent DataWindow project, it creates a project on the fly and launches the DataWindow painter.

Consume DataWindows in Visual Studio 2005 To Consume DataWindow in ASP.NET Web Application Create new ASP.NET WebSite in VS 2005 Drag & Drop WebDataWindowControl from DataWindow .NET tab of VS 2005 ToolBox on the Web Page. Import the required DataWindow repository file (.pbl) into the WebSite project. Set the LibraryList and DataWindowObject properties. Write few lines of code to connect to the database and retrieve.

Consume DataWindows in Visual Studio 2005 Consuming DataWindow – In Action

What is DataWindow? DataWindow .NET 2.5 New Features. DataWindow Designer in Visual Studio 2005. Designing DataWindows in Visual Studio 2005. Consume DataWindows in Visual Studio 2005. Web Service DataWindow.

Web Service DataWindow New feature in DataWindow .NET 2.5 Create DataWindows based on Web Service method’s Return Value In Out Parameter Most Presentation styles are supported, except Crosstab and Graph Also ,supports DataWindow WebService Update to update database through appropriate web service methods. At runtime, WebService Connection object is used to retrieve Web Service datawindow (a.k.a Transaction object for database).

Web Service DataWindow Web Service DataWindow – In Action

Further Information For Further Information, Please Visit Us in the PowerBuilder/DataWindow.NET Booth You can find useful information at http://www.sybase.com/products/development/datawindownet

Q&A ??