4. Drag a WebHierarchicalDataSource from the Visual Studio Toolbox onto the web page and set its ID property to CustomerOrderHierarchicalDataSource.

Size: px
Start display at page:

Download "4. Drag a WebHierarchicalDataSource from the Visual Studio Toolbox onto the web page and set its ID property to CustomerOrderHierarchicalDataSource."

Transcription

1 ASP.NET Binding WebGrid to a WebHierarchicalDataSource Visual Basic C# Glossary Item Box Before You Begin WebGrid can be used to display a hierarchical data model. Hierarchical data can be offered by many sources such as Datasets, custom objects, xml files, ObjectDataSource, and SqlDataSource (just to name a few). The WebHierarchicalDataSource is a component that you can use to create and represent your hierarchical data model. What You Will Accomplish In this walkthrough you will learn how to bind WebGrid to a WebHierarchicalDataSource and display data in a Hierarchical view. You can use WebHierarchicalDataSource to combine multiple DataSource controls and link them together to form your hierarchy and enjoy the benefits of automatic Create, Read, Update, and Delete operations (if your data source controls support it). In this sample two ObjectDataSource controls are assigned as DataSources to the WebHierarchicalDataSource, which in turn is assigned as DataSource to the WebGrid. Follow These Steps 1. The WebHierarchicalDataSource uses the Aikido Framework that leverages the Microsoft ASP.NET 2.0 AJAX Extensions or ASP.NET 3.5, therefore you will need to drag and drop a ScriptManager onto the web page. For more information about Aikido controls, please see About Aikido Controls topic. 2. Drag an UltraWebGrid from the Visual Studio toolbox onto the Web page. 3. Drag two ObjectDataSource components from the Visual Studio toolbox onto the web page and set their ID properties to CustomerObjectDataSource and OrderObjectDataSource respectively. 4. Drag a WebHierarchicalDataSource from the Visual Studio Toolbox onto the web page and set its ID property to CustomerOrderHierarchicalDataSource. 5. Create three classes: Customer, Order and DataManager. The DataManager class uses both the Customer and Order class. 6. Write the following code in Customer class. In Visual Basic: Private _custid As Integer Private _firstname As String Private _lastname As String Public Sub New() Public Property CustomerId() As Integer Return _custid End Set(ByVal value As Integer) _custid = value Public Property FirstName() As String Return _firstname End _firstname = value Public Property LastName() As String Return _lastname End _lastname = value

2 Public Sub New(ByVal custid As Integer, ByVal firstname As String, ByVal lastname As String) _custid = custid _firstname = firstname _lastname = lastname Public Class CustomerCollection Inherits List(Of Customer) End Class In C#: private int _custid; private string _firstname; private string _lastname; public Customer() public int CustomerId get return _custid; set _custid = value; public string FirstName get return _firstname; set _firstname = value; public string LastName get return _lastname; set _lastname = value; public Customer(int custid, string firstname, string lastname) _custid = custid; _firstname = firstname; _lastname = lastname; public class CustomerCollection : List<Customer> 7. Write the following code in Order class. In Visual Basic: Private _orderid As Integer Private _customerid As Integer Private _shipcity As String Private _shipstate As String Public Sub New(ByVal orderid As Integer, ByVal customerid As Integer, ByVal city As String, ByVal state As String) _orderid = orderid _customerid = customerid _shipcity = city

3 _shipstate = state Public Property OrderId() As Integer Return _orderid End Set(ByVal value As Integer) _orderid = value Public Property CustomerId() As Integer Return _customerid End Set(ByVal value As Integer) _customerid = value Public Property ShipCity() As String Return _shipcity End _shipcity = value Public Property ShipState() As String Return _shipstate End _shipstate = value Public Class OrderCollection Inherits List(Of Order) End Class In C#: private int _orderid; private int _customerid; private string _shipcity; private string _shipstate; public Order(int orderid,int customerid,string city,string state) _orderid = orderid; _customerid = customerid; _shipcity = city; _shipstate = state; public int OrderId getreturn _orderid; set _orderid=value; public int CustomerId get return _customerid; set _customerid = value;

4 public string ShipCity get return _shipcity; set _shipcity = value; public string ShipState get return _shipstate; set _shipstate = value; public class OrderCollection : List<Order> 8. Write the following code in DataManger class. This class provides the Customers and Orders data. In Visual Basic: ''' <summary> ''' Method to get Customer details ''' </summary> ''' <returns>customercollection c</returns> Public Function Customers() As CustomerCollection Dim c As New CustomerCollection() c.add(new Customer(1, "Kim", "Su")) c.add(new Customer(2, "John", "Smith")) c.add(new Customer(3, "Frank", "Johns")) c.add(new Customer(4, "Tony", "Rio")) Return c End Function ''' <summary> ''' Method to get Order details ''' </summary> ''' <returns>ordercollection o</returns> Public Function Orders() As OrderCollection Dim o As New OrderCollection() o.add(new Order(101, 1, "New York", "New York")) o.add(new Order(102, 1, "Bolingbrook", "Chicago")) o.add(new Order(103, 2, "Lawrence", "St.Louis")) o.add(new Order(104, 3, "Edison", "New Jersey")) o.add(new Order(105, 4, "Newark", "New Jersey")) o.add(new Order(106, 2, "Miami", "Florida")) o.add(new Order(107, 2, "New Brunswick", "New Jersey")) o.add(new Order(108, 3, "Clevland", "Ohio")) Return o End Function Public Sub InsertOrder(ByVal o As Order) 'implementation code to insert order Public Sub UpdateOrder(ByVal o As Order) 'implementation code to update order Public Sub DeleteOrder(ByVal o As Order) 'implementation code to delete order In C#: /// <summary>

5 /// Method to get Customer details /// </summary> /// <returns>customercollection c</returns> public CustomerCollection Customers() CustomerCollection c = new CustomerCollection(); c.add(new Customer(1, "Kim", "Su")); c.add(new Customer(2, "John", "Smith")); c.add(new Customer(3, "Frank", "Johns")); c.add(new Customer(4, "Tony", "Rio")); return c; /// <summary> /// Method to get Order details /// </summary> /// <returns>ordercollection o</returns> public OrderCollection Orders() OrderCollection o = new OrderCollection(); o.add(new Order(101, 1, "New York", "New York")); o.add(new Order(102, 1, "Bolingbrook", "Chicago")); o.add(new Order(103, 2, "Lawrence", "St.Louis")); o.add(new Order(104, 3, "Edison", "New Jersey")); o.add(new Order(105, 4, "Newark", "New Jersey")); o.add(new Order(106, 2, "Miami", "Florida")); o.add(new Order(107, 2, "New Brunswick", "New Jersey")); o.add(new Order(108, 3, "Clevland", "Ohio")); return o; public void InsertOrder(Order o) //implementation code to insert order public void UpdateOrder(Order o) //implementation code to update order public void DeleteOrder(Order o) //implementation code to delete order 9. The Customers method provides data to the CustomerObjectDataSource component and Orders method provides data to the OrderObjectDataSource component. In the properties window for CustomerObjectDataSource, set the SelectMethod to Customers. Similarly set the SelectMethod to Orders for OrderObjectDataSource. 10. Click the CustomerObjectDataSource component and click its smart tag to display the context menu. a.click Configure Data Source. b. In the Choose a Business Object dialog window, select the DataManager object that we have created in step 5, from the drop-down list. c. Click Next. d. Choose the Customers method from the drop-down list and click finish. 11. Similarly for OrderObjectDataSource component follow the same steps specified in step 10. Make sure you choose the Orders method while choosing the Data methods in the Define Data Methods dialog window. By now both the ObjectDataSource components have been configured to a data source object. 12. The ObjectDataSource components need to be assigned to WebHierarchicalDataSource. For this purpose, click the WebHierarchicalDataSource s smart tag and select Edit Relations The Quick Design appears. To learn more about this Quick Design, see ting Started with WebHierarchicalDatasource topic. 13. Click the Add View option.

6 14. At this time, you have two ObjectDataSources readily available on your page, and these data sources will appear in the drop-down list. Select CustomerObjectDataSource from the drop-down list that appears and click OK. 15. Click the Add Child node directly under the CustomerObjectDataSource node. The child configuration screen appears. Select OrderObjectDataSource from the drop-down list that appears. 16. Add the relation between the two data sources by selecting the columns for the relationship. Select CustomerId from Parent Columns drop-down list. Select CustomerId from Child Columns drop-down list. 17. Click Ok to return to the Quick Design view. 18. At this point, WebHierarchicalDataSource is ready to use two Object data sources to display hierarchical data. Click Apply then Ok. 19. In the properties window for UltraWebGrid1, set the DataSourceId to the id of WebHierarchicalDataSource. 20. Run the application. WebGrid displays a hierarchical view of the Customers data with its associated Orders data. Voila!

Programming with ADO.NET

Programming with ADO.NET Programming with ADO.NET The Data Cycle The overall task of working with data in an application can be broken down into several top-level processes. For example, before you display data to a user on a

More information

ComponentOne. MultiSelect for WinForms

ComponentOne. MultiSelect for WinForms ComponentOne MultiSelect for WinForms GrapeCity US GrapeCity 201 South Highland Avenue, Suite 301 Pittsburgh, PA 15206 Tel: 1.800.858.2739 412.681.4343 Fax: 412.681.4384 Website: https://www.grapecity.com/en/

More information

Sparkline for ASP.NET WebForms

Sparkline for ASP.NET WebForms Cover Page ComponentOne Sparkline for ASP.NET WebForms Cover Page Info ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com

More information

GETTING STARTED WITH CODE ON TIME Got data? Generate modern web apps in minutes. Learn to create sophisticated web apps with Code On Time application

GETTING STARTED WITH CODE ON TIME Got data? Generate modern web apps in minutes. Learn to create sophisticated web apps with Code On Time application 2012 GETTING STARTED WITH CODE ON TIME Got data? Generate modern web apps in minutes. Learn to create sophisticated web apps with Code On Time application generator for ASP.NET, Azure, DotNetNuke, and

More information

Hands-On Lab. Introduction to SQL Azure. Lab version: Last updated: 12/15/2010

Hands-On Lab. Introduction to SQL Azure. Lab version: Last updated: 12/15/2010 Hands-On Lab Introduction to SQL Azure Lab version: 2.0.0 Last updated: 12/15/2010 Contents OVERVIEW... 3 EXERCISE 1: PREPARING YOUR SQL AZURE ACCOUNT... 5 Task 1 Retrieving your SQL Azure Server Name...

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2012.1 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Hands-On Lab. Introduction to SQL Azure. Lab version: Last updated: 11/16/2010

Hands-On Lab. Introduction to SQL Azure. Lab version: Last updated: 11/16/2010 Hands-On Lab Introduction to SQL Azure Lab version: 2.0.0 Last updated: 11/16/2010 Contents OVERVIEW... 3 EXERCISE 1: PREPARING YOUR SQL AZURE ACCOUNT... 6 Task 1 Retrieving your SQL Azure Server Name...

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.1 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Simple sets of data can be expressed in a simple table, much like a

Simple sets of data can be expressed in a simple table, much like a Chapter 1: Building Master and Detail Pages In This Chapter Developing master and detail pages at the same time Building your master and detail pages separately Putting together master and detail pages

More information

How to Add Categories and Subcategories to WordPress

How to Add Categories and Subcategories to WordPress How to Add Categories and Subcategories to WordPress WordPress comes with the ability to sort your content into categories, tags, and taxonomies. One of the major differences between categories and tags

More information

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Network Variable

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Network Variable Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Network Variable Note To complete this walkthrough, you must have either the Measurement Studio Professional or Measurement

More information

Setting Synchronization Direction

Setting Synchronization Direction In Visual Studio 2008, the Local Database Cache configures a SQL Server Compact 3.5 database and a set of partial classes that enable Sync Services for ADO.NET. Because Visual Studio generates partial

More information

Infragistics ASP.NET Release Notes

Infragistics ASP.NET Release Notes 2013.2 Release Notes Accelerate your application development with ASP.NET AJAX controls built to be the fastest, lightest and most complete toolset for rapidly building high performance ASP.NET Web Forms

More information

This functionality does not apply to. Supported. Please refer to the attached VPAT.

This functionality does not apply to. Supported. Please refer to the attached VPAT. www.infragistics.com October 18, 2010 Summary Table Section 1194.21 Software Applications and Operating Systems Accessibility. Section 1194.22 Web Accessibility. Section 1194.23 Telecommunications Products.

More information

All samples, demos, slides & recording will be available later today for download at blogs.infragistics.com

All samples, demos, slides & recording will be available later today for download at blogs.infragistics.com All samples, demos, slides & recording will be available later today for download at blogs.infragistics.com I will tweet when they are posted, follow @jasonberes to be the first to get them. Presenting

More information

Tutorial. Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms

Tutorial. Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms Tutorial Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms At the conclusion of this exercise, you will be able to: Generate a dynamic form within a Web Dynpro

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

Preparing Students for MTA Certification MICROSOFT TECHNOLOGY ASSOCIATE. Exam Review Labs. EXAM Web Development Fundamentals

Preparing Students for MTA Certification MICROSOFT TECHNOLOGY ASSOCIATE. Exam Review Labs. EXAM Web Development Fundamentals Preparing Students for MTA Certification MICROSOFT TECHNOLOGY ASSOCIATE Exam Review Labs EXAM 98-363 Web Development Fundamentals TABLE OF CONTENTS Student Activity 1.1... 2 Student Activity 1.2... 3 Student

More information

2.1 Read and Write XML Data. 2.2 Distinguish Between DataSet and DataReader Objects. 2.3 Call a Service from a Web Page

2.1 Read and Write XML Data. 2.2 Distinguish Between DataSet and DataReader Objects. 2.3 Call a Service from a Web Page LESSON 2 2.1 Read and Write XML Data 2.2 Distinguish Between DataSet and DataReader Objects 2.3 Call a Service from a Web Page 2.4 Understand DataSource Controls 2.5 Bind Controls to Data by Using Data-Binding

More information

Introduction. What is Recursive Data? Reporting on Hierarchical Recursive data using MS Reporting Services Asif Sayed

Introduction. What is Recursive Data? Reporting on Hierarchical Recursive data using MS Reporting Services Asif Sayed Introduction I will start with a question here. How many of you had chance to interact with Employee table from sample database Northwind? There you go I can imagine countless hands in air, and why not

More information

You can use Dreamweaver to build master and detail Web pages, which

You can use Dreamweaver to build master and detail Web pages, which Chapter 1: Building Master and Detail Pages In This Chapter Developing master and detail pages at the same time Building your master and detail pages separately Putting together master and detail pages

More information

Lab 4: Adding a Windows User-Interface

Lab 4: Adding a Windows User-Interface Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using

More information

ASP.NET Web Forms Programming Using Visual Basic.NET

ASP.NET Web Forms Programming Using Visual Basic.NET ASP.NET Web Forms Programming Using Visual Basic.NET Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

Public Class ClassName (naming: CPoint)

Public Class ClassName (naming: CPoint) Lecture 6 Object Orientation Class Implementation Concepts: Encapsulation Inheritance Polymorphism Template/Syntax: Public Class ClassName (naming: CPoint) End Class Elements of the class: Data 1. Internal

More information

XML JavaScript Object Notation JSON Cookies Miscellaneous What Javascript can t do. OOP Concepts of JS

XML JavaScript Object Notation JSON Cookies Miscellaneous What Javascript can t do. OOP Concepts of JS LECTURE-4 XML JavaScript Object Notation JSON Cookies Miscellaneous What Javascript can t do. OOP Concepts of JS 1 XML EXTENDED MARKUP LANGUAGE XML is a markup language, like HTML Designed to carry data

More information

ERD Tutorial: How to Design and Generate SQL Server DB? Written Date : June 19, 2015

ERD Tutorial: How to Design and Generate SQL Server DB? Written Date : June 19, 2015 ERD : How to Design and Generate SQL Server DB? ERD : How to Design and Generate SQL Server DB? Written Date : June 9, 05 You can design database with ERD, and construct database by generating from the

More information

9/21/2010. Based on Chapter 2 in Advanced Programming Using Visual Basic.NET by Bradley and Millspaugh

9/21/2010. Based on Chapter 2 in Advanced Programming Using Visual Basic.NET by Bradley and Millspaugh Building Multitier Programs with Classes Based on Chapter 2 in Advanced Programming Using Visual Basic.NET by Bradley and Millspaugh The Object-Oriented Oriented (OOP) Development Approach Large production

More information

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH

Private Institute of Aga NETWORK DATABASE LECTURER NIYAZ M. SALIH Private Institute of Aga 2018 NETWORK DATABASE LECTURER NIYAZ M. SALIH Data Definition Language (DDL): String data Types: Data Types CHAR(size) NCHAR(size) VARCHAR2(size) Description A fixed-length character

More information

Stephen Walther Senior Program Manager Microsoft Corporation

Stephen Walther Senior Program Manager Microsoft Corporation Stephen Walther Senior Program Manager Microsoft Corporation Overview of Talk ASP.NET supports several very different types of web applications ASP.NET 3.5 Service Pack 1 Microsoft Entity Framework ADO.NET

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.2 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

CS 327E Lecture 10. Shirley Cohen. February 29, 2016

CS 327E Lecture 10. Shirley Cohen. February 29, 2016 CS 327E Lecture 10 Shirley Cohen February 29, 2016 Agenda Announcements Readings for today Reading Quiz Concept Questions Homework for next time Announcements Midterm exams will be returned at the end

More information

Remote Web Server. Develop Locally. foldername. publish project files to

Remote Web Server. Develop Locally. foldername. publish project files to Create a Class and Instantiate an Object in a Two-Tier Tier Web App By Susan Miertschin For ITEC 4339 Enterprise Applications Development 9/20/2010 1 Development Model foldername Remote Web Server Develop

More information

Building Datacentric Applications

Building Datacentric Applications Chapter 4 Building Datacentric Applications In this chapter: Application: Table Adapters and the BindingSource Class Application: Smart Tags for Data. Application: Parameterized Queries Application: Object

More information

WinForms Charts How to Invoke the Chart Wizard at Runtime

WinForms Charts How to Invoke the Chart Wizard at Runtime WinForms Charts How to Invoke the Chart Wizard at Runtime As you may already know, most DevExpress WinForms Controls come with extremely powerful and easy-to-use designers that help you customize them

More information

16 - Comparing Groups

16 - Comparing Groups 16 - Comparing Groups Contents 16 - COMPARING GROUPS... 1 QUALITATIVE DATA: CONTENT OF CODED SEGMENTS... 1 QUANTITATIVE DATA: CODE FREQUENCIES... 3 16 - Comparing Groups MAXQDA allows you to compare different

More information

CSC 330 Object-Oriented

CSC 330 Object-Oriented CSC 330 Object-Oriented Oriented Programming Using ADO.NET and C# CSC 330 Object-Oriented Design 1 Implementation CSC 330 Object-Oriented Design 2 Lecture Objectives Use database terminology correctly

More information

ASP.NET AJAX adds Asynchronous JavaScript and XML. ASP.NET AJAX was up until the fall of 2006 was known by the code-known of Atlas.

ASP.NET AJAX adds Asynchronous JavaScript and XML. ASP.NET AJAX was up until the fall of 2006 was known by the code-known of Atlas. Future of ASP.NET ASP.NET AJAX ASP.NET AJAX adds Asynchronous JavaScript and XML (AJAX) support to ASP.NET. ASP.NET AJAX was up until the fall of 2006 was known by the code-known of Atlas. ASP.NET AJAX

More information

Information Systems Engineering

Information Systems Engineering Connection to a DB Information Systems Engineering Data from Databases Using ASP.NET Several ASP.NET controls allow the presentation of data from a datasource The datasource can be a database The association

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.2 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION Program: C#.Net (Basic with advance) Duration: 50hrs. C#.Net OVERVIEW Strong Programming Features of C# ENVIRONMENT The.Net Framework Integrated Development Environment (IDE) for C# PROGRAM STRUCTURE Creating

More information

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Table of Contents Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static Series Chart with Dynamic Series Master-Detail

More information

TreeView for ASP.NET Wijmo

TreeView for ASP.NET Wijmo ComponentOne TreeView for ASP.NET Wijmo By GrapeCity, Inc. Copyright 1987-2012 GrapeCity, Inc. All rights reserved. Corporate Headquarters ComponentOne, a division of GrapeCity 201 South Highland Avenue

More information

CST272 GridView Page 1

CST272 GridView Page 1 CST272 GridView Page 1 1 2 3 4 5 6 10 Databound List Controls CST272 ASP.NET The ASP:DropDownList Web Control (Page 1) The asp:dropdownlist Web control creates a Form field that allows users to select

More information

Lab 5: ASP.NET 2.0 Profiles and Localization

Lab 5: ASP.NET 2.0 Profiles and Localization Lab 5: ASP.NET 2.0 Profiles and Localization Personalizing content for individual users and persisting per-user data has always been a non-trivial undertaking in Web apps, in part due to the stateless

More information

WPF and MVVM Study Guides

WPF and MVVM Study Guides 1. Introduction to WPF WPF and MVVM Study Guides https://msdn.microsoft.com/en-us/library/mt149842.aspx 2. Walkthrough: My First WPF Desktop Application https://msdn.microsoft.com/en-us/library/ms752299(v=vs.110).aspx

More information

Generics in VB.net. Generic Class: The following example shows a skeleton definition of a generic class.

Generics in VB.net. Generic Class: The following example shows a skeleton definition of a generic class. 1 Generics in VB.net A generic type is a single programming element that adapts to perform the same functionality for a variety of data types. When you define a generic class or procedure, you do not have

More information

Metatomix Semantic Platform

Metatomix Semantic Platform Metatomix Semantic Platform About Metatomix Founded in 2000 Privately held Headquarters - Dedham, MA Offices in Atlanta, Memphis, San Francisco, and London Semantic Technology Leadership Numerous patents,

More information

Hands-On Lab. Getting Started with Office 2010 Development. Lab version: Last updated: 2/23/2011

Hands-On Lab. Getting Started with Office 2010 Development. Lab version: Last updated: 2/23/2011 Hands-On Lab Getting Started with Office 2010 Development Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 Starting Materials 3 EXERCISE 1: CUSTOMIZING THE OFFICE RIBBON IN OFFICE... 4

More information

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

QUETZALANDIA.COM. 5. Data Manipulation Language

QUETZALANDIA.COM. 5. Data Manipulation Language 5. Data Manipulation Language 5.1 OBJECTIVES This chapter involves SQL Data Manipulation Language Commands. At the end of this chapter, students should: Be familiar with the syntax of SQL DML commands

More information

Foreign-Key Associations

Foreign-Key Associations Search ASP.NET Sign In Join Home Get Started Downloads Web Pages Web Forms MVC Community Forums Overview Videos Samples Forum Books Open Source Home / Web Forms / Tutorials / Chapter 3. Continuing with

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the

More information

Web-based Vista Explorer s tree view is just a simple sample of our WebTreeView.NET 1.0

Web-based Vista Explorer s tree view is just a simple sample of our WebTreeView.NET 1.0 WebTreeView.NET 1.0 WebTreeView.NET 1.0 is Intersoft s latest ASP.NET server control which enables you to easily create a hierarchical data presentation. This powerful control incorporates numerous unique

More information

Advanced Programming Using Visual Basic 2008

Advanced Programming Using Visual Basic 2008 Building Multitier Programs with Classes Advanced Programming Using Visual Basic 2008 The OOP Development Approach OOP = Object Oriented Programming Large production projects are created by teams Each

More information

Exploring.Net Orcas. Contents. By Punit Ganshani

Exploring.Net Orcas. Contents. By Punit Ganshani Exploring.Net Orcas By Punit Ganshani Punit Ganshani, employed by Cognizant Technology Solutions India Pvt. Ltd (NASDAQ: CTSH), a global IT services provider headquartered in Teaneck, N.J., is an author

More information

Chapter 3. Windows Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 3. Windows Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 3 Windows Database Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives - 1 Retrieve and display data from a SQL Server database on Windows forms Use the

More information

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis Before You Begin Measurement Studio includes user interface controls, such as a waveform graph control and a

More information

Creating a Column Profile on a Logical Data Object in Informatica Developer

Creating a Column Profile on a Logical Data Object in Informatica Developer Creating a Column Profile on a Logical Data Object in Informatica Developer 1993-2016 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying,

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2012.1 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis

Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis Walkthrough: Creating a Measurement Studio Application with Web Forms Controls and Analysis Note To complete this walkthrough, you must have either the Measurement Studio Professional or Measurement Studio

More information

Manually Defining Constraints in Enterprise Data Manager

Manually Defining Constraints in Enterprise Data Manager Manually Defining Constraints in Enterprise Data Manager 2014 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

C++ Important Questions with Answers

C++ Important Questions with Answers 1. Name the operators that cannot be overloaded. sizeof,.,.*,.->, ::,? 2. What is inheritance? Inheritance is property such that a parent (or super) class passes the characteristics of itself to children

More information

Step by Step Guide of BI Case Study of MYSQL via Visual Studio Code

Step by Step Guide of BI Case Study of MYSQL via Visual Studio Code Step by Step Guide of BI Case Study of MYSQL via Visual Studio Code Contents Step by Step Guide of BI Case Study of MYSQL via Visual Studio Code... 1 Introduction of Case Study... 3 Step 1: Install MySQL

More information

How to work with data sources and datasets

How to work with data sources and datasets Chapter 14 How to work with data sources and datasets Objectives Applied Use a data source to get the data that an application requires. Use a DataGridView control to present the data that s retrieved

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

InspectionWare. Quick Start Guide. Version: QSG-BC-rev1.5

InspectionWare. Quick Start Guide. Version: QSG-BC-rev1.5 Quick Start Guide InspectionWare Version: QSG-BC-rev1.5 Quick Start Guide introduces the basic components of the InspectionWare NDE Development Platform and helps you to get started using a C-Scan example.

More information

SUMMER EXAMINATIONS 2013

SUMMER EXAMINATIONS 2013 SUMMER EXAMINATIONS 2013 CSY202913N MODULE TITLE Database Technology 1 LEVEL TIME ALLOWED Five Two Hours Instructions to students: Enter your student number not your name on all answer booklets. You are

More information

Working with Data in ASP.NET 2.0 :: Using Parameterized Queries with the SqlDataSource Introduction

Working with Data in ASP.NET 2.0 :: Using Parameterized Queries with the SqlDataSource Introduction 1 of 17 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Developing an app using Web Services, DB2, and.net

Developing an app using Web Services, DB2, and.net Developing an app using Web Services, DB2, and.net http://www7b.software.ibm.com/dmdd/ Table of contents If you're viewing this document online, you can click any of the topics below to link directly to

More information

Chapter 10. Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 10. Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 10 Database Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives Use database terminology correctly Create Windows and Web projects that display

More information

Teamcenter 11.1 Systems Engineering and Requirements Management

Teamcenter 11.1 Systems Engineering and Requirements Management SIEMENS Teamcenter 11.1 Systems Engineering and Requirements Management Systems Architect/ Requirements Management Project Administrator's Manual REQ00002 U REQ00002 U Project Administrator's Manual 3

More information

Chapter 2. Building Multitier Programs with Classes The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 2. Building Multitier Programs with Classes The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 2 Building Multitier Programs with Classes McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Discuss object-oriented terminology Create your own class and instantiate

More information

Using NetAdvantage 2005 Volume 2 elements in Windows Sharepoint Services Web Parts Microsoft Windows Sharepoint Services (WSS) is a powerful web-based portal package that many companies have adopted as

More information

appcompass Developer s Guide For: appcompass Data Integration Studio appcompass Business Rules Studio appcompass Visual Studio Editions

appcompass Developer s Guide For: appcompass Data Integration Studio appcompass Business Rules Studio appcompass Visual Studio Editions appcompass Developer s Guide For: appcompass Data Integration Studio appcompass Business Rules Studio appcompass Visual Studio Editions Version 5.1 July, 2013 Copyright appstrategy Inc. 2013 appcompass

More information

Integrate WebScheduler to Microsoft SharePoint 2007

Integrate WebScheduler to Microsoft SharePoint 2007 Integrate WebScheduler to Microsoft SharePoint 2007 This white paper describes the techniques and walkthrough about integrating WebScheduler to Microsoft SharePoint 2007 as webpart. Prerequisites The following

More information

Introduction to Software Testing Chapter 2.4 Graph Coverage for Design Elements Paul Ammann & Jeff Offutt

Introduction to Software Testing Chapter 2.4 Graph Coverage for Design Elements Paul Ammann & Jeff Offutt Introduction to Software Testing Chapter 2.4 Graph Coverage for Design Elements Paul Ammann & Jeff Offutt www.introsoftwaretesting.com OO Software and Designs Emphasis on modularity and reuse puts complexity

More information

3SL. Cradle-7. Reusing Information with Adaptations in Cradle. From concept to creation... RA004/03 March 2017

3SL. Cradle-7. Reusing Information with Adaptations in Cradle. From concept to creation... RA004/03 March 2017 Cradle-7 From concept to creation... 3SL Reusing Information with Adaptations in Cradle RA004/03 March 2017 March 2017 3SL. All rights reserved. Cradle is a registered trademark of 3SL in the UK and other

More information

Programming with the ASPxGridView

Programming with the ASPxGridView Programming with the ASPxGridView This year is the tenth anniversary of my VB Today column for Codeguru.com and Developer.com. (My first article was published in PC World in 1992.) In that time, during

More information

Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic)

Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic) 1 System.Transactions in Whidbey Creating a Transacted Resource Using System.Transactions (Lab 2) (Visual C#, Visual Basic) For the Visual Basic lab, go to page 17. Objectives After completing this lab,

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

ComponentOne. TreeView for ASP.NET Web Forms

ComponentOne. TreeView for ASP.NET Web Forms ComponentOne TreeView for ASP.NET Web Forms Copyright 1987-2015 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA

More information

Chapter 13. Additional Topics in Visual Basic The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 13. Additional Topics in Visual Basic The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 13 Additional Topics in Visual Basic McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Write Windows applications that run on mobile devices Display database information

More information

ADF Mobile : Data Services Java Beans. Ma Ping

ADF Mobile : Data Services Java Beans. Ma Ping ADF Mobile : Data Services Java Beans Ma Ping ping.ma@oracle.com Overview Topics covered in this lesson include: Roadmap and Best Practices Data Services Overview Data Objects and CRUD Objects Data Relationships

More information

Intro to Structured Query Language Part I

Intro to Structured Query Language Part I Intro to Structured Query Language Part I The Select Statement In a relational database, data is stored in tables. An example table would relate Social Security Number, Name, and Address: EmployeeAddressTable

More information

Visual Studio.NET for AutoCAD Programmers

Visual Studio.NET for AutoCAD Programmers December 2-5, 2003 MGM Grand Hotel Las Vegas Visual Studio.NET for AutoCAD Programmers Speaker Name: Andrew G. Roe, P.E. Class Code: CP32-3 Class Description: In this class, we'll introduce the Visual

More information

NetAdvantage for ASP.NET Release Notes

NetAdvantage for ASP.NET Release Notes NetAdvantage for ASP.NET 2011.1 Release Notes Accelerate your application development with ASP.NET AJAX controls built on the Aikido Framework to be the fastest, lightest and most complete toolset for

More information

.NET Web Applications. Example Project Walk-Through

.NET Web Applications. Example Project Walk-Through .NET Web Applications Example Project Walk-Through Simple Blog Project Goals - Introduce.NET web application development concepts Explore the Visual Studio and ASP.NET web site building process Demonstrate

More information

Constructing a Multi-Tier Application in ASP.NET

Constructing a Multi-Tier Application in ASP.NET Bill Pegram 12/16/2011 Constructing a Multi-Tier Application in ASP.NET The references provide different approaches to constructing a multi-tier application in ASP.NET. A connected model where there is

More information

Arrays Classes & Methods, Inheritance

Arrays Classes & Methods, Inheritance Course Name: Advanced Java Lecture 4 Topics to be covered Arrays Classes & Methods, Inheritance INTRODUCTION TO ARRAYS The following variable declarations each allocate enough storage to hold one value

More information

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question)

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question) CS/B.TECH/CSE(New)/SEM-5/CS-504D/2013-14 2013 OBJECT ORIENTED PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give their answers

More information

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500 Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500 Summary Each day there will be a combination of presentations, code walk-throughs, and handson projects. The final project

More information

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide TRAINING GUIDE FOR OPC SYSTEMS.NET Simple steps to successful development and deployment. Step by Step Guide SOFTWARE DEVELOPMENT TRAINING OPC Systems.NET Training Guide Open Automation Software Evergreen,

More information

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

Editing XML Data in Microsoft Office Word 2003

Editing XML Data in Microsoft Office Word 2003 Page 1 of 8 Notice: The file does not open properly in Excel 2002 for the State of Michigan. Therefore Excel 2003 should be used instead. 2009 Microsoft Corporation. All rights reserved. Microsoft Office

More information

Database Wizard Guide. i-net Designer

Database Wizard Guide. i-net Designer Guide i-net Designer 1 Content... 2 2 Introduction... 3 2.1 Definitions... 3 3 Setting Up a Simple Database Connection... 5 4 Choosing and Joining Table Sources... 6 5 Creating a Custom SQL Command... 10

More information

COOKBOOK Creating an Order Form

COOKBOOK Creating an Order Form 2010 COOKBOOK Creating an Order Form Table of Contents Understanding the Project... 2 Table Relationships... 2 Objective... 4 Sample... 4 Implementation... 4 Generate Northwind Sample... 5 Order Form Page...

More information

Kentico CMS 6.0 Intranet Administrator's Guide

Kentico CMS 6.0 Intranet Administrator's Guide Kentico CMS 6.0 Intranet Administrator's Guide 2 Kentico CMS 6.0 Intranet Administrator's Guide Table of Contents Introduction 5... 5 About this guide Getting started 7... 7 Installation... 11 Accessing

More information

Module Overview. Instructor Notes (PPT Text)

Module Overview. Instructor Notes (PPT Text) Module 06 - Debugging and Troubleshooting SSIS Packages Page 1 Module Overview 12:55 AM Instructor Notes (PPT Text) As you develop more complex SQL Server Integration Services (SSIS) packages, it is important

More information

What s New For Coders

What s New For Coders What s New For Coders Daniel D Agostino MS Pre-Release Software Visual Studio 2010 Windows Phone Developer Tools XNA Game Studio 4 Internet Explorer 9 Preview Office 2010 New IDE features.net 4: C# meets

More information