آموزش DataGrid در WPF به همراه صفحه بندي و جستجوي انتخابی. کلیک کن

Size: px
Start display at page:

Download "آموزش DataGrid در WPF به همراه صفحه بندي و جستجوي انتخابی. کلیک کن www.papro-co.ir"

Transcription

1 آموزش DataGrid در WPF به همراه صفحه بندي و جستجوي انتخابی در پاپرو برنامه نویسی را شیرین یاد بگیرید کلیک کن

2 WPF DataGrid Custom Paging and Sorting This article shows how to implement custom paging and sorting on a WPF DataGrid. Introduction WPF DataGrid has built-in functionality for sorting its items by clicking on a column header. However, it only works for the current items in the DataGrid. This becomes a problem when paging functionality is implemented. Paging is a must when items are so many that it should not be loaded into memory because it might affect performance. Application Let s create an application like the one below.

3 The window is made up of a data grid which shows a list of products and buttons for moving through the list. The data grid is a WPF DataGrid. It is not yet a released product but is downloadable from CodePlex under WPF Toolkit. Paging To implement paging, a method must be created that retrieves items from data storage where the calling method can specify the range of items that should be returned. The following code listing shows a static class that has the said method. /// Class that simulates a DataAccess module. public static class DataAccess /// A list of products. This should be replaced by a database. private static ObservableCollection<Product> products = new ObservableCollection<Product> new Product(1, "Book"), new Product(2, "Desktop Computer"), new Product(3, "Notebook"), new Product(4, "Netbook"), new Product(5, "Business Software"), new Product(6, "Antivirus Software"), new Product(7, "Game Console"), new Product(8, "Handheld Game Console"), new Product(9, "Mobile Phone"), new Product(10, "Multimedia Software"), new Product(11, "PC Game") ; /// Gets the products. /// <param name="start">zero-based index that determines the start of the products to be returned.</param> /// <param name="itemcount">number of products that is requested to be returned.</param>

4 /// <param name="sortcolumn">name of column or member that is the basis for sorting.</param> /// <param name="ascending">indicates the sort direction to be used.</param> /// <param name="totalitems">total number of products.</param> /// <returns>list of products.</returns> public static ObservableCollection<Product> GetProducts(int start, int itemcount, string sortcolumn, bool ascending, out int totalitems) totalitems = products.count; ObservableCollection<Product> sortedproducts = new ObservableCollection<Product>(); // Sort the products. In reality, the items should be stored in a database and // use SQL statements for sorting and querying items. switch (sortcolumn) case ("Id"): sortedproducts = new ObservableCollection<Product> ( from p in products orderby p.id select p ); break; case ("Name"): sortedproducts = new ObservableCollection<Product> ( from p in products orderby p.name select p ); break; sortedproducts = ascending? sortedproducts : new ObservableCollection<Product>(sortedProducts.Reverse()); ObservableCollection<Product> filteredproducts = new ObservableCollection<Product>(); for (int i = start; i < start + itemcount && i < totalitems; i++) filteredproducts.add(sortedproducts[i]); return filteredproducts; The GetProducts() determines the range of products to return by using the start and itemcount parameters. The sortcolumn and ascending parameters are used in sorting the items, which will be discussed later. The totalitems is an out parameter that is set by the method to the total

5 number of products. This can be more useful if there is a search function. The totalitems will be set to the number of products that matched the specified search criteria instead. Notice that the GetProducts() method only gets the products from a static member defined in the class. This is for demonstration purposes only. Accessing items from a database is more desirable. Now let s take a look at XAML definition of the window that was shown earlier and make a way to call the GetProducts() method. <Window x:class="wpfapp.mainwindow" xmlns=" xmlns:x=" xmlns:tk=" Width="350" Height="190" Title="WPF DataGrid Paging and Sorting"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <tk:datagrid AutoGenerateColumns="False" IsReadOnly="True" ItemsSource="Binding Products"> <tk:datagrid.columns> <tk:datagridtextcolumn Header="PRODUCT ID" Binding="Binding Id" Width="*"/> <tk:datagridtextcolumn Header="PRODUCT NAME" Binding="Binding Name" Width="*"/> </tk:datagrid.columns> </tk:datagrid> <StackPanel Margin="4" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center"> <Button Margin="4,0" Content="<<" Command="Binding FirstCommand"/> <Button Margin="4,0" Content="<" Command="Binding PreviousCommand"/> <StackPanel VerticalAlignment="Center" Orientation="Horizontal"> <TextBlock

6 Text="Binding Start"/> <TextBlock Text=" to "/> <TextBlock Text="Binding End"/> <TextBlock Text=" of "/> <TextBlock Text="Binding TotalItems"/> </StackPanel> <Button Margin="4,0" Content=">" Command="Binding NextCommand"/> <Button Margin="4,0" Content=">>" Command="Binding LastCommand"/> </StackPanel> </Grid> </Window> The DataGrid s ItemsSource dependency property is bounded to the Products property in the window s ViewModel. The Products property is set to a new object every time a user clicks on a navigation button. Each button has its Command property bounded to a property in the ViewModel. If you are unfamiliar with Model-View-ViewModel design pattern, you may look at my previous article entitled WPF and the Model View View Model Pattern or you could search for other resources. Most of the logic is implemented in the window s ViewModel. The following code listing shows the ViewModel. /// ViewModel of the MainWindow. This is assigned to the MainWindow's DataContext /// property. Implements the INotifyPropertyChanged interface to notify the View /// of property changes. public class MainViewModel : INotifyPropertyChanged #region INotifyPropertyChanged Members public event PropertyChangedEventHandler PropertyChanged; #endregion #region Private Fields private ObservableCollection<Product> products; private int start = 0; private int itemcount = 5;

7 private string sortcolumn = "Id"; private bool ascending = true; private int totalitems = 0; private ICommand firstcommand; private ICommand previouscommand; private ICommand nextcommand; private ICommand lastcommand; #endregion /// Constructor. Initializes the list of products. public MainViewModel() RefreshProducts(); /// The list of products in the current page. public ObservableCollection<Product> Products get return products; private set if (object.referenceequals(products, value)!= true) products = value; NotifyPropertyChanged("Products");... /// Gets the index of the first item in the products list. public int Start get return start + 1; /// Gets the index of the last item in the products list. public int End get return start + itemcount < totalitems? start + itemcount : totalitems ;

8 /// The number of total items in the data store. public int TotalItems get return totalitems; /// Gets the command for moving to the first page of products. public ICommand FirstCommand get if (firstcommand == null) firstcommand = new RelayCommand ( start = 0; RefreshProducts();, return start - itemcount >= 0? true : false; ); return firstcommand; /// Gets the command for moving to the previous page of products. public ICommand PreviousCommand get if (previouscommand == null) previouscommand = new RelayCommand ( start -= itemcount; RefreshProducts();, return start - itemcount >= 0? true : false; ); return previouscommand;

9 /// Gets the command for moving to the next page of products. public ICommand NextCommand get if (nextcommand == null) nextcommand = new RelayCommand ( start += itemcount; RefreshProducts();, return start + itemcount < totalitems? true : false; ); return nextcommand; /// Gets the command for moving to the last page of products. public ICommand LastCommand get if (lastcommand == null) lastcommand = new RelayCommand ( start = (totalitems / itemcount - 1) * itemcount; start += totalitems % itemcount == 0? 0 : itemcount; RefreshProducts();, return start + itemcount < totalitems? true : false; ); return lastcommand;

10 /// Refreshes the list of products. Called by navigation commands. private void RefreshProducts() Products = DataAccess.GetProducts(start, itemcount, sortcolumn, ascending, out totalitems); NotifyPropertyChanged("Start"); NotifyPropertyChanged("End"); NotifyPropertyChanged("TotalItems"); /// Notifies subscribers of changed properties. /// <param name="propertyname">name of the changed property.</param> private void NotifyPropertyChanged(string propertyname) if (PropertyChanged!= null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); The ViewModel contains the commands for navigating through the list of products. Basically, these commands just set the start variable then call the RefreshProducts() method. For example, the FirstCommand just sets the start variable to the value 0. Afterwards, it calls the RefreshProducts() method which in turn calls the DataAccess.GetProducts() method which uses the updated start variable. The itemcount value is not changed anywhere in the application. It is useful when a user wants to select the number of items that can be displayed. This is a common functionality in most applications that implement paging. This is not implemented in the example. Sorting Now that paging has been implemented, the only thing left is custom sorting. The following screenshot shows a sorted list of products if the data grid s built-in sorting is used.

11 In the example, the product name is sorted. Notice that only the items that were sorted are the current items in the data grid. The items stored in our data store are not included in the sort. The following screenshot shows the sorted list of products where custom sorting was used. To implement custom sorting, some code changes need to be done. The following code listing shows the updated data grid definition in the XAML file. <tk:datagrid AutoGenerateColumns="False" IsReadOnly="True" ItemsSource="Binding Products, NotifyOnTargetUpdated=True" Sorting="ProductsDataGrid_Sorting" TargetUpdated="ProductsDataGrid_TargetUpdated" Loaded="ProductsDataGrid_Loaded"> <tk:datagrid.columns> <tk:datagridtextcolumn Header="PRODUCT ID" Binding="Binding Id" Width="*" SortDirection="Ascending"/> <tk:datagridtextcolumn Header="PRODUCT NAME" Binding="Binding Name" Width="*"/> </tk:datagrid.columns> </tk:datagrid>

12 Notice that the following event handlers are added: ProductsDataGrid_Sorting, ProductsDataGrid_TargetUpdated and ProductsDataGrid_Loaded. Also, the NotifyOnTargetUpdated property of the ItemsSource s binding is set to true. The following code listing shows the code-behind file of the window. This shows the definition for the event handlers previously mentioned. /// Interaction logic for MainWindow.xaml public partial class MainWindow : Window private DataGridColumn currentsortcolumn; private ListSortDirection currentsortdirection; public MainWindow() InitializeComponent(); DataContext = new MainViewModel(); /// Initializes the current sort column and direction. /// <param name="sender">the products data grid.</param> /// <param name="e">ignored.</param> private void ProductsDataGrid_Loaded(object sender, RoutedEventArgs e) DataGrid datagrid = (DataGrid)sender; // The current sorted column must be specified in XAML. currentsortcolumn = datagrid.columns.where(c => c.sortdirection.hasvalue).single(); currentsortdirection = currentsortcolumn.sortdirection.value; /// Sets the sort direction for the current sorted column since the sort direction /// is lost when the DataGrid's ItemsSource property is updated. /// <param name="sender">the parts data grid.</param> /// <param name="e">ignored.</param> private void ProductsDataGrid_TargetUpdated(object sender, DataTransferEventArgs e) if (currentsortcolumn!= null) currentsortcolumn.sortdirection = currentsortdirection; /// Custom sort the datagrid since the actual records are stored in the

13 /// server, not in the items collection of the datagrid. /// <param name="sender">the parts data grid.</param> /// <param name="e">contains the column to be sorted.</param> private void ProductsDataGrid_Sorting(object sender, DataGridSortingEventArgs e) e.handled = true; MainViewModel mainviewmodel = (MainViewModel)DataContext; string sortfield = String.Empty; // Use a switch statement to check the SortMemberPath // and set the sort column to the actual column name. In this case, // the SortMemberPath and column names match. switch (e.column.sortmemberpath) case ("Id"): sortfield = "Id"; break; case ("Name") : sortfield = "Name"; break; ListSortDirection direction = (e.column.sortdirection!= ListSortDirection.Ascending)? ListSortDirection.Ascending : ListSortDirection.Descending; bool sortascending = direction == ListSortDirection.Ascending; mainviewmodel.sort(sortfield, sortascending); currentsortcolumn.sortdirection = null; e.column.sortdirection = direction; currentsortcolumn = e.column; currentsortdirection = direction; First, the current data grid column and sort direction are stored in member variables because the current sort information is lost when the DataGrid s ItemsSource property is set to another instance, which will be done every time the user sorts the list or navigates to other pages. These variables are initialized in the Loaded event handler of the window. Note that there must be one column that has its SortDirection property initialized by specifying it either in code or XAML. To set the sort direction again when a user sorts the list or moves to another page, the current column s SortDirection property should be set in the TargetUpdated event handler. The event is triggered when the DataGrid s ItemsSource property is updated. The NotifyOnTargetUpdated property in the binding expression should be set to true. Take note that setting the sort direction does not sort the data grid. It just specifies how the sort arrow of the column should be displayed.

14 The Sorting event handler overrides the default sorting mechanism of the data grid. The Handled property of the DataGridSortingEventArgs parameter must be set to true so that the default sorting is not executed. This method calls the newly added Sort() method of the MainViewModel. It requires two parameters, the sort column and the sort direction. The application should know beforehand the possible values for the sort column. The possible values may be defined as an enumeration type in the DataAccess module. I just used a string for simplicity. The direction variable is a local variable that stores the next sort direction. Basically, it toggles the sort direction for the column that is to be sorted. Meanwhile, the sort direction for the current column that is sorted is set to null. Finally, the currentsortcolumn and currentsortdirection are set to their new values. The Visual Studio 2008 example can be downloaded here.

Election 2012: Real- Time Monitoring of Election Results

Election 2012: Real- Time Monitoring of Election Results Election 2012: Real- Time Monitoring of Election Results A simulation using the Syncfusion PivotGrid control. by Clay Burch and Suriya Prakasam R. Contents Introduction... 3 Ticking Pivots... 3 Background

More information

WINDOWS PRESENTATION FOUNDATION LEKTION 3

WINDOWS PRESENTATION FOUNDATION LEKTION 3 WINDOWS PRESENTATION FOUNDATION LEKTION 3 Mahmud Al Hakim mahmud@alhakim.se www.alhakim.se COPYRIGHT 2015 MAHMUD AL HAKIM WWW.WEBACADEMY.SE 1 AGENDA Introduktion till Databindning (Data Binding) Element

More information

Implementing multi-user multi-touch scenarios using WPF in Windows* 8 Desktop Apps

Implementing multi-user multi-touch scenarios using WPF in Windows* 8 Desktop Apps Implementing multi-user multi-touch scenarios using WPF in Windows* 8 Desktop Apps Summary In this paper we walk through a sample application (in this case a game that quizzes people on the Periodic Table)

More information

STEP BY STEP to Build the Application 1. Start a. Open a MvvmLight (WPF4) application and name it MvvmControlChange.

STEP BY STEP to Build the Application 1. Start a. Open a MvvmLight (WPF4) application and name it MvvmControlChange. Application Description This MVVM WPF application includes a WPF Window with a contentcontrol and multiple UserControls the user can navigate between with button controls. The contentcontrols will have

More information

An Introduction to the Windows Presentation Foundation with the Model-View-ViewModel

An Introduction to the Windows Presentation Foundation with the Model-View-ViewModel An Introduction to the Windows Presentation Foundation with the Model-View-ViewModel Part 1 Paul Grenyer After three wonderful years working with Java I am back in the C# arena and amazed by how things

More information

Microsoft Silverlight 5: Building Rich Enterprise Dashboards Todd Snyder, Joel Eden, Ph.D. Jeff Smith, Matthew Duffield

Microsoft Silverlight 5: Building Rich Enterprise Dashboards Todd Snyder, Joel Eden, Ph.D. Jeff Smith, Matthew Duffield Microsoft Silverlight 5: Building Rich Enterprise Dashboards Todd Snyder, Joel Eden, Ph.D. Jeff Smith, Matthew Duffield Chapter No. 4 "Building a Basic Dashboard" In this package, you will find: A Biography

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

Microsoft Virtual Labs. Building Windows Presentation Foundation Applications - C# - Part 1

Microsoft Virtual Labs. Building Windows Presentation Foundation Applications - C# - Part 1 Microsoft Virtual Labs Building Windows Presentation Foundation Applications - C# - Part 1 Table of Contents Building Windows Presentation Foundation Applications - C# - Part 1... 1 Exercise 1 Creating

More information

Introduction to the BackgroundWorker Component in WPF

Introduction to the BackgroundWorker Component in WPF Introduction to the BackgroundWorker Component in WPF An overview of the BackgroundWorker component by JeremyBytes.com The Problem We ve all experienced it: the application UI that hangs. You get the dreaded

More information

Relationships in WPF Applications

Relationships in WPF Applications Chapter 15 Relationships in WPF Applications Table of Contents Chapter 15... 15-1 Relationships in WPF Applications... 15-1 One-To-Many Combo Box to List Box... 15-1 One-To-Many Relationships using Properties...

More information

Visual COBOL ASP.NET Shopping Cart Demonstration

Visual COBOL ASP.NET Shopping Cart Demonstration Visual COBOL ASP.NET Shopping Cart Demonstration Overview: The original application that was used as the model for this demonstration was the ASP.NET Commerce Starter Kit (CSVS) demo from Microsoft. The

More information

Paging, sorting, and searching using EF Code first and MVC 3. Introduction. Installing AdventureWorksLT database. Creating the MVC 3 web application

Paging, sorting, and searching using EF Code first and MVC 3. Introduction. Installing AdventureWorksLT database. Creating the MVC 3 web application Paging, sorting, and searching using EF Code first and MVC 3 Nadeem Afana's blog Download code! Introduction In this blog post, I am going to show you how to search, paginate and sort information retrieved

More information

Windows Presentation Foundation (WPF) User Interfaces

Windows Presentation Foundation (WPF) User Interfaces Windows Presentation Foundation (WPF) User Interfaces Rob Miles Department of Computer Science 29c 08120 Programming 2 Design Style and programming As programmers we probably start of just worrying about

More information

70-511. Microsoft Windows Apps Dev w/microsoft.net Framework 4. http://www.officialcerts.com

70-511. Microsoft Windows Apps Dev w/microsoft.net Framework 4. http://www.officialcerts.com http://www.officialcerts.com 70-511 Microsoft Windows Apps Dev w/microsoft.net Framework 4 OfficialCerts.com is a reputable IT certification examination guide, study guides and audio exam provider. We

More information

Chapter 14 WCF Client WPF Implementation. Screen Layout

Chapter 14 WCF Client WPF Implementation. Screen Layout Chapter 14 WCF Client WPF Implementation Screen Layout Window1.xaml

More information

Introduction to C#, Visual Studio and Windows Presentation Foundation

Introduction to C#, Visual Studio and Windows Presentation Foundation Introduction to C#, Visual Studio and Windows Presentation Foundation Lecture #3: C#, Visual Studio, and WPF Joseph J. LaViola Jr. Fall 2008 Fall 2008 CAP 6938 Topics in Pen-Based User Interfaces Joseph

More information

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code. Content Introduction... 2 Data Access Server Control Panel... 2 Running the Sample Client Applications... 4 Sample Applications Code... 7 Server Side Objects... 8 Sample Usage of Server Side Objects...

More information

WPF Viewer for Reporting Services 2008/2012 Getting Started

WPF Viewer for Reporting Services 2008/2012 Getting Started WPF Viewer for Reporting Services 2008/2012 Getting Started Last modified on: July 9, 2012 Table of Content Introduction... 3 Prerequisites... 3 Creating application using Microsoft SQL 2008/2008 R2 /2012

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Windows 10 Apps Development

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Windows 10 Apps Development About the Tutorial Welcome to Windows 10 tutorial. This tutorial is designed for people who want to learn how to develop apps meant for Windows 10. After completing it, you will have a better understating

More information

Windows Presentation Foundation Tutorial 1

Windows Presentation Foundation Tutorial 1 Windows Presentation Foundation Tutorial 1 PDF: Tutorial: A http://billdotnet.com/wpf.pdf http://billdotnet.com/dotnet_lecture/dotnet_lecture.htm Introduction 1. Start Visual Studio 2008, and select a

More information

Telerik WPF Controls Tutorial

Telerik WPF Controls Tutorial Telerik WPF Controls Tutorial Daniel R. Spalding Chapter No. 2 "Telerik Editors and How They Work" In this package, you will find: A Biography of the author of the book A preview chapter from the book,

More information

ADP Workforce Now V3.0

ADP Workforce Now V3.0 ADP Workforce Now V3.0 Manual What s New Checks in and Custom ADP Reporting Grids V12 Instructor Handout Manual Guide V10171180230WFN3 V09171280269ADPR12 2011 2012 ADP, Inc. ADP s Trademarks The ADP Logo

More information

Performance and Usability Improvements for Massive Data Grids using Silverlight

Performance and Usability Improvements for Massive Data Grids using Silverlight 5DV097 - Degree project in Computing Science Engineering, 30 ECTS-credits Umeå university, Sweden Performance and Usability Improvements for Massive Data Grids using Silverlight Report 2011-02-14 c06ahm@cs.umu.se

More information

Synchronizing databases

Synchronizing databases TECHNICAL PAPER Synchronizing databases with the SQL Comparison SDK By Doug Reilly In the wired world, our data can be almost anywhere. The problem is often getting it from here to there. A common problem,

More information

Tutorial 3. Maintaining and Querying a Database

Tutorial 3. Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save queries

More information

Microsoft Office 2010

Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save

More information

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process.

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process. In this lab you will learn how to create and use variables. Variables are containers for data. Data can be passed into a job when it is first created (Initialization data), retrieved from an external source

More information

wpf5concat Start Microsoft Visual Studio. File New Project WPF Application, Name= wpf5concat OK.

wpf5concat Start Microsoft Visual Studio. File New Project WPF Application, Name= wpf5concat OK. Start Microsoft Visual Studio. wpf5concat File New Project WPF Application, Name= wpf5concat OK. The Solution Explorer displays: Solution wpf5concat, wpf5concat, Properties, References, App.xaml, MainWindow.xaml.

More information

Ad Hoc Report Query Step-by-Step

Ad Hoc Report Query Step-by-Step Page1 Start from the HMIS or HMIS Low Volume page From your HMIS module - * Click on the Report module Initial Ad Hoc Inventory Search * 1 2 3 1) Click on Ad Hoc Report / Inventory 2) Select the drop down

More information

2012 Teklynx Newco SAS, All rights reserved.

2012 Teklynx Newco SAS, All rights reserved. D A T A B A S E M A N A G E R DMAN-US- 01/01/12 The information in this manual is not binding and may be modified without prior notice. Supply of the software described in this manual is subject to a user

More information

Async startup WPF Application

Async startup WPF Application Async startup WPF Application Friday, December 18, 2015 5:39 PM This document is from following the article here: https://msdn.microsoft.com/enus/magazine/mt620013.aspx While working through the examples

More information

1. WPF Tutorial Page 1 of 431 wpf-tutorial.com

1. WPF Tutorial Page 1 of 431 wpf-tutorial.com 1. WPF Tutorial Page 1 of 431 1.1. About WPF 1.1.1. What is WPF? WPF, which stands for Windows Presentation Foundation, is Microsoft's latest approach to a GUI framework, used with the.net framework. But

More information

Bitrix Site Manager 4.1. User Guide

Bitrix Site Manager 4.1. User Guide Bitrix Site Manager 4.1 User Guide 2 Contents REGISTRATION AND AUTHORISATION...3 SITE SECTIONS...5 Creating a section...6 Changing the section properties...8 SITE PAGES...9 Creating a page...10 Editing

More information

Visual Studio 2008: Windows Presentation Foundation

Visual Studio 2008: Windows Presentation Foundation Visual Studio 2008: Windows Presentation Foundation Course 6460A: Three days; Instructor-Led Introduction This three-day instructor-led course provides students with the knowledge and skills to build and

More information

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Lesson 3 A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Abstract 2012. 01. 20. The third lesson of is a detailed step by step guide that will show you everything you need to implement for

More information

ADF Code Corner. 66. How-to color-highlight the bar in a graph that represents the current row in the collection. Abstract: twitter.

ADF Code Corner. 66. How-to color-highlight the bar in a graph that represents the current row in the collection. Abstract: twitter. ADF Code Corner 66. How-to color-highlight the bar in a graph that represents in the collection Abstract: An ADF Faces Data Visualization Tools (DVT) graphs can be configured to change in the underlying

More information

Introduction to Unit Testing ---

Introduction to Unit Testing --- Introduction to Unit Testing --- Overview In this lab, you ll learn about unit testing. Unit tests gives you an efficient way to look for logic errors in the methods of your classes. Unit testing has the

More information

Introduction to Building Windows Store Apps with Windows Azure Mobile Services

Introduction to Building Windows Store Apps with Windows Azure Mobile Services Introduction to Building Windows Store Apps with Windows Azure Mobile Services Overview In this HOL you will learn how you can leverage Visual Studio 2012 and Windows Azure Mobile Services to add structured

More information

Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc.

Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc. 2011 Advanced Crystal Reports TeachUcomp, Inc. it s all about you Copyright: Copyright 2011 by TeachUcomp, Inc. All rights reserved.

More information

Data Binding with WPF: Binding to XML

Data Binding with WPF: Binding to XML Data Binding with WPF: Binding to XML Excerpted from WPF in Action with Visual Studio 2008 EARLY ACCESS EDITION Arlen Feldman and Maxx Daymon MEAP Release: July 2007 Softbound print: October 2008 (est.),

More information

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL

More information

VISION FINANCIALS. Budget Status (GLS8020) Introduction. Purpose of the Report

VISION FINANCIALS. Budget Status (GLS8020) Introduction. Purpose of the Report VISION FINANCIALS Budget Status (GLS8020) Introduction Purpose of the Report The report displays all Commitment Control ledger amounts (budgeted, associated revenue, pre-encumbrance, encumbrance, expense)

More information

Windows Presentation Foundation

Windows Presentation Foundation Windows Presentation Foundation C# Programming April 18 Windows Presentation Foundation WPF (code-named Avalon ) is the graphical subsystem of the.net 3.0 Framework It provides a new unified way to develop

More information

Xamarin Cross-platform Application Development

Xamarin Cross-platform Application Development Xamarin Cross-platform Application Development Jonathan Peppers Chapter No. 3 "Code Sharing Between ios and Android" In this package, you will find: A Biography of the author of the book A preview chapter

More information

Windows Presentation Foundation (WPF)

Windows Presentation Foundation (WPF) 50151 - Version: 4 05 July 2016 Windows Presentation Foundation (WPF) Windows Presentation Foundation (WPF) 50151 - Version: 4 5 days Course Description: This five-day instructor-led course provides students

More information

2Creating Reports: Basic Techniques. Chapter

2Creating Reports: Basic Techniques. Chapter 2Chapter 2Creating Reports: Chapter Basic Techniques Just as you must first determine the appropriate connection type before accessing your data, you will also want to determine the report type best suited

More information

ASP.NET Dynamic Data

ASP.NET Dynamic Data 30 ASP.NET Dynamic Data WHAT S IN THIS CHAPTER? Building an ASP.NET Dynamic Data application Using dynamic data routes Handling your application s display ASP.NET offers a feature that enables you to dynamically

More information

THE USE OF WPF FOR DEVELOPMENT OF INTERACTIVE GEOMETRY SOFTWARE

THE USE OF WPF FOR DEVELOPMENT OF INTERACTIVE GEOMETRY SOFTWARE Acta Universitatis Matthiae Belii ser. Mathematics, 16 (2009), 65 79. Received: 28 June 2009, Accepted: 2 February 2010. THE USE OF WPF FOR DEVELOPMENT OF INTERACTIVE GEOMETRY SOFTWARE DAVORKA RADAKOVIĆ

More information

Designing Reports in Access

Designing Reports in Access Designing Reports in Access This document provides basic techniques for designing reports in Microsoft Access. Opening Comments about Reports Reports are a great way to organize and present data from your

More information

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions Bitrix Site Manager 4.0 Quick Start Guide to Newsletters and Subscriptions Contents PREFACE...3 CONFIGURING THE MODULE...4 SETTING UP FOR MANUAL SENDING E-MAIL MESSAGES...6 Creating a newsletter...6 Providing

More information

Using Windows Azure Mobile Services to Cloud-Enable your Windows Store Apps in C#

Using Windows Azure Mobile Services to Cloud-Enable your Windows Store Apps in C# Using Windows Azure Mobile Services to Cloud-Enable your Windows Store Apps in C# Windows Azure Developer Center Summary: This section shows you how to use Windows Azure Mobile Services and C# to leverage

More information

How to Create a Custom TracDat Report With the Ad Hoc Reporting Tool

How to Create a Custom TracDat Report With the Ad Hoc Reporting Tool TracDat Version 4 User Reference Guide Ad Hoc Reporting Tool This reference guide is intended for TracDat users with access to the Ad Hoc Reporting Tool. This reporting tool allows the user to create custom

More information

Microsoft Access 2010 Overview of Basics

Microsoft Access 2010 Overview of Basics Opening Screen Access 2010 launches with a window allowing you to: create a new database from a template; create a new template from scratch; or open an existing database. Open existing Templates Create

More information

Client Ordering and Report Retrieval Website

Client Ordering and Report Retrieval Website 1165 S. Stemmons Frwy. Suite 233 Lewisville, TX 75067 800-460-0723 Client Ordering and Report Retrieval Website The Reliable Reports Client Ordering Website allows client users to submit, view, and retrieve

More information

USER GUIDE Appointment Manager

USER GUIDE Appointment Manager 2011 USER GUIDE Appointment Manager 0 Suppose that you need to create an appointment manager for your business. You have a receptionist in the front office and salesmen ready to service customers. Whenever

More information

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2013 Enhanced Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the

More information

Tutorial 3 Maintaining and Querying a Database

Tutorial 3 Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2013 Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the Query window in

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

CONTENTS MANUFACTURERS GUIDE FOR PUBLIC USERS

CONTENTS MANUFACTURERS GUIDE FOR PUBLIC USERS OPA DATABASE GUIDE FOR PUBLIC USERS - MARCH 2013 VERSION 5.0 CONTENTS Manufacturers 1 Manufacturers 1 Registering a Manufacturer 2 Search Manufacturers 3 Advanced Search Options 3 Searching for Manufacturers

More information

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices. MySQL for Excel Abstract This is the MySQL for Excel Reference Manual. It documents MySQL for Excel 1.3 through 1.3.6. Much of the documentation also applies to the previous 1.2 series. For notes detailing

More information

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection.

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection. Chapter 5: Airport 49 5 Airport Most practical applications in C# require data to be stored in a database and accessed by the program. We will examine how this is done by setting up a small database of

More information

Understanding In and Out of XAML in WPF

Understanding In and Out of XAML in WPF Understanding In and Out of XAML in WPF 1. What is XAML? Extensible Application Markup Language and pronounced zammel is a markup language used to instantiate.net objects. Although XAML is a technology

More information

Crystal Reports. For Visual Studio.NET. Designing and Viewing a Report in a Windows Application

Crystal Reports. For Visual Studio.NET. Designing and Viewing a Report in a Windows Application Crystal Reports For Visual Studio.NET Designing and Viewing a Report in a Windows Application 2001 Crystal Decisions, Inc. Crystal Decisions, Crystal Reports, and the Crystal Decisions logo are registered

More information

ComponentOne. Windows for WPF

ComponentOne. Windows for WPF ComponentOne Windows for WPF Copyright 1987-2012 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Internet: info@componentone.com

More information

How To Integrate SAP Business Data Into SharePoint 2010 Using Business Connectivity Services And LINQ to SAP

How To Integrate SAP Business Data Into SharePoint 2010 Using Business Connectivity Services And LINQ to SAP How To Integrate SAP Business Data Into SharePoint 2010 Using Business Connectivity Services And LINQ to SAP Jürgen Bäurle August 2010 Parago Media GmbH & Co. KG Introduction One of the core concepts of

More information

BusinessObjects: General Report Writing for Version 5

BusinessObjects: General Report Writing for Version 5 BusinessObjects: General Report Writing for Version 5 Contents 1 INTRODUCTION...3 1.1 PURPOSE OF COURSE...3 1.2 LEVEL OF EXPERIENCE REQUIRED...3 1.3 TERMINOLOGY...3 1.3.1 Universes...3 1.3.2 Objects...4

More information

SharePoint Integration Framework Developers Cookbook

SharePoint Integration Framework Developers Cookbook Sitecore CMS 6.3 to 6.6 and SIP 3.2 SharePoint Integration Framework Developers Cookbook Rev: 2013-11-28 Sitecore CMS 6.3 to 6.6 and SIP 3.2 SharePoint Integration Framework Developers Cookbook A Guide

More information

Working with Data in ASP.NET 2.0 :: Paging and Sorting Report Data Introduction. Step 1: Adding the Paging and Sorting Tutorial Web Pages

Working with Data in ASP.NET 2.0 :: Paging and Sorting Report Data Introduction. Step 1: Adding the Paging and Sorting Tutorial Web Pages 1 of 18 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

Creating QBE Queries in Microsoft SQL Server

Creating QBE Queries in Microsoft SQL Server Creating QBE Queries in Microsoft SQL Server When you ask SQL Server or any other DBMS (including Access) a question about the data in a database, the question is called a query. A query is simply a question

More information

Lab 2: MS ACCESS Tables

Lab 2: MS ACCESS Tables Lab 2: MS ACCESS Tables Summary Introduction to Tables and How to Build a New Database Creating Tables in Datasheet View and Design View Working with Data on Sorting and Filtering 1. Introduction Creating

More information

AvePoint SearchAll 3.0.2 for Microsoft Dynamics CRM

AvePoint SearchAll 3.0.2 for Microsoft Dynamics CRM AvePoint SearchAll 3.0.2 for Microsoft Dynamics CRM User Guide Revision E Issued April 2014 1 Table of Contents Overview... 3 Getting Started... 4 Understanding the SearchAll User Interface... 4 Using

More information

Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

More information

Boolean Expressions, Conditions, Loops, and Enumerations. Precedence Rules (from highest to lowest priority)

Boolean Expressions, Conditions, Loops, and Enumerations. Precedence Rules (from highest to lowest priority) Boolean Expressions, Conditions, Loops, and Enumerations Relational Operators == // true if two values are equivalent!= // true if two values are not equivalent < // true if left value is less than the

More information

Visual C# 2012 Programming

Visual C# 2012 Programming Visual C# 2012 Programming Karli Watson Jacob Vibe Hammer John D. Reid Morgan Skinner Daniel Kemper Christian Nagel WILEY John Wiley & Sons, Inc. INTRODUCTION xxxi CHAPTER 1: INTRODUCING C# 3 What Is the.net

More information

Page Editor Recommended Practices for Developers

Page Editor Recommended Practices for Developers Page Editor Recommended Practices for Developers Rev: 7 July 2014 Sitecore CMS 7 and later Page Editor Recommended Practices for Developers A Guide to Building for the Page Editor and Improving the Editor

More information

OCS Training Workshop LAB14. Email Setup

OCS Training Workshop LAB14. Email Setup OCS Training Workshop LAB14 Email Setup Introduction The objective of this lab is to provide the skills to develop and trouble shoot email messaging. Overview Electronic mail (email) is a method of exchanging

More information

Access Tutorial 6: Form Fundamentals

Access Tutorial 6: Form Fundamentals Access Tutorial 6: Form Fundamentals 6.1 Introduction: Using forms as the core of an application Forms provide a user-oriented interface to the data in a database application. They allow you, as a developer,

More information

Monitoring of Tritium release at PTC.

Monitoring of Tritium release at PTC. Monitoring of Tritium release at PTC. Scope of the project From more than 20 projects supported by Equipment Manufacturing Support group this is one of the simplest. What is nice about it is that elegant

More information

A SharePoint Developer Introduction. Hands-On Lab. Lab Manual HOL8 Using Silverlight with the Client Object Model C#

A SharePoint Developer Introduction. Hands-On Lab. Lab Manual HOL8 Using Silverlight with the Client Object Model C# A SharePoint Developer Introduction Hands-On Lab Lab Manual HOL8 Using Silverlight with the Client Object Model C# Information in this document, including URL and other Internet Web site references, is

More information

Microsoft SQL Server Staging

Microsoft SQL Server Staging Unified ICM requires that you install Microsoft SQL Server on each server that hosts a Logger or Administration & Data Server (Real Time Distributor and HDS only) component. Microsoft SQL Server efficiently

More information

IBM Tivoli Software. Document Version 8. Maximo Asset Management Version 7.5 Releases. QBR (Ad Hoc) Reporting and Report Object Structures

IBM Tivoli Software. Document Version 8. Maximo Asset Management Version 7.5 Releases. QBR (Ad Hoc) Reporting and Report Object Structures IBM Tivoli Software Maximo Asset Management Version 7.5 Releases QBR (Ad Hoc) Reporting and Report Object Structures Document Version 8 Pam Denny Maximo Report Designer/Architect CONTENTS Revision History...

More information

Scheduling Software User s Guide

Scheduling Software User s Guide Scheduling Software User s Guide Revision 1.12 Copyright notice VisualTime is a trademark of Visualtime Corporation. Microsoft Outlook, Active Directory, SQL Server and Exchange are trademarks of Microsoft

More information

Parameter Fields and Prompts. chapter

Parameter Fields and Prompts. chapter Parameter Fields and Prompts chapter 23 Parameter Fields and Prompts Parameter and prompt overview Parameter and prompt overview Parameters are Crystal Reports fields that you can use in a Crystal Reports

More information

2009 Braton Groupe sarl, All rights reserved.

2009 Braton Groupe sarl, All rights reserved. D A T A B A S E M A N A G E R U S E R M A N U A L The information in this manual is not binding and may be modified without prior notice. Supply of the software described in this manual is subject to a

More information

HarePoint Workflow Scheduler Manual

HarePoint Workflow Scheduler Manual HarePoint Workflow Scheduler Manual For SharePoint Server 2010/2013, SharePoint Foundation 2010/2013, Microsoft Office SharePoint Server 2007 and Microsoft Windows SharePoint Services 3.0. Product version

More information

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys Documented by - Sreenath Reddy G OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys Functionality in Microsoft Dynamics AX can be turned on or off depending on license

More information

Building Database-Powered Mobile Applications

Building Database-Powered Mobile Applications 132 Informatica Economică vol. 16, no. 1/2012 Building Database-Powered Mobile Applications Paul POCATILU Bucharest University of Economic Studies ppaul@ase.ro Almost all mobile applications use persistency

More information

Developing Web Applications for Microsoft SQL Server Databases - What you need to know

Developing Web Applications for Microsoft SQL Server Databases - What you need to know Developing Web Applications for Microsoft SQL Server Databases - What you need to know ATEC2008 Conference Session Description Alpha Five s web components simplify working with SQL databases, but what

More information

Index. CloudBlockBlob class, 204 CreateDatabase() method, 217 Create, Read, Update, and Delete (CRUD) methods, 79 CSSCop, 17

Index. CloudBlockBlob class, 204 CreateDatabase() method, 217 Create, Read, Update, and Delete (CRUD) methods, 79 CSSCop, 17 Index A AddCategory method, 77 Amazon Web Services (AWS), 180 ApplicationDataRepository class, 63 Application data storage AddCategory method, 77 start page design assigning values, 86 deleting password,

More information

Visual Basic. murach's TRAINING & REFERENCE

Visual Basic. murach's TRAINING & REFERENCE TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com Contents Introduction

More information

Developer s Guide. Tobii EyeX SDK for.net. October 27, 2014 Tobii Technology

Developer s Guide. Tobii EyeX SDK for.net. October 27, 2014 Tobii Technology Developer s Guide Tobii EyeX SDK for.net October 27, 2014 Tobii Technology The Tobii EyeX Software Development Kit (SDK) for.net contains everything you need for building games and applications using the

More information

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014. Jump to the Lab Overview

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014. Jump to the Lab Overview SQL Server 2014 BI Lab 04 Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server 2014 Jump to the Lab Overview Terms of Use 2014 Microsoft Corporation. All rights reserved.

More information

Call Logging Quick Reference User Guide

Call Logging Quick Reference User Guide Call Logging provides companywide call records, comparison and analytical tools for tracking and improving the efficiency and effectiveness of business communications. An intuitive, feature rich interface

More information

This tutorial has been designed for all those readers who want to learn WPF and to apply it instantaneously in different type of applications.

This tutorial has been designed for all those readers who want to learn WPF and to apply it instantaneously in different type of applications. About the Tutorial WPF stands for Windows Presentation Foundation. It is a powerful framework for building Windows applications. This tutorial explains the features that you need to understand to build

More information

Step One. Step Two. Step Three USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013)

Step One. Step Two. Step Three USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013) USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013) This guide was created to allow agencies to set up the e-data Tech Support project s Microsoft Access template. The steps below have been

More information

M4 Systems. Batch & Document Management (BDM) Brochure

M4 Systems. Batch & Document Management (BDM) Brochure M4 Systems Batch & Document Management (BDM) Brochure M4 Systems Ltd Tel: 0845 5000 777 International: +44 (0)1443 863910 www.m4systems.com www.dynamicsplus.net Table of Contents Introduction ------------------------------------------------------------------------------------------------------------------

More information

Introduction to Microsoft Access 2003

Introduction to Microsoft Access 2003 Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft

More information

Hostname (DNS Resolvable) Network Objects

Hostname (DNS Resolvable) Network Objects Hostname (DNS Resolvable) Network Objects Introduction The following article explains the configuration of hostname (DNS Resolvable) network objects. Note that the maximum amount of a single DNS resolvable

More information

REP200 Using Query Manager to Create Ad Hoc Queries

REP200 Using Query Manager to Create Ad Hoc Queries Using Query Manager to Create Ad Hoc Queries June 2013 Table of Contents USING QUERY MANAGER TO CREATE AD HOC QUERIES... 1 COURSE AUDIENCES AND PREREQUISITES...ERROR! BOOKMARK NOT DEFINED. LESSON 1: BASIC

More information

This training module reviews the CRM home page called the Dashboard including: - Dashboard My Activities tab. - Dashboard Pipeline tab

This training module reviews the CRM home page called the Dashboard including: - Dashboard My Activities tab. - Dashboard Pipeline tab This training module reviews the CRM home page called the Dashboard including: - Dashboard My Activities tab - Dashboard Pipeline tab - My Meetings Dashlet - My Calls Dashlet - My Calendar Dashlet - My

More information