آموزش 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="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:tk="http://schemas.microsoft.com/wpf/2008/toolkit" 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

WPF MVVM Introduction

WPF MVVM Introduction WPF MVVM Introduction Today writing large WPF application is very complex task. WPF application composed of many complex UI designs, larget set of business objects, data storage objects and presentation

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

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

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

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

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

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

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

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

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

Creating Reports in Access 2010

Creating Reports in Access 2010 Creating Reports in Access 2010 Table of Contents INTRODUCTION TO REPORTS... 2 PARTS OF A REPORT... 3 UNDERSTAND CONTROLS... 3 CREATE A SIMPLE REPORT... 4 STEP 1: CHOOSE A RECORD SOURCE... 4 Different

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

Filtering Data in Access 2010

Filtering Data in Access 2010 Filtering Data in Access 2010 Table of Contents OVERVIEW... 1 HOW FILTERS ARE USEFUL... 1 SELECT AND APPLY A FILTER TYPE... 3 COMMON FILTERS... 3 Apply a common filter... 4 FILTER BY SELECTION... 4 Apply

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

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

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

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

VERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY

VERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY VERSION 2015.1 JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY TEST STUDIO QUICK-START GUIDE CONTENTS Create your First Test.2 Standalone Web

More information

CSC 330 Object-Oriented Implementation Programming Using ADO.NET and C# CSC 330 Object-Oriented Design CSC 330 Object-Oriented Design

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

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

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

Search & Export Report Data

Search & Export Report Data Search & Export Report Data Version: Draft 2 Abstract This document describes how to export the data from a saved report document. Document Revisions Version Date Description of Changes Draft 2 08/12/2005

More information

Strategies for Sharing Code between Windows Phone 8 and Windows 8 Applications by Benjamin Day

Strategies for Sharing Code between Windows Phone 8 and Windows 8 Applications by Benjamin Day Strategies for Sharing Code between Windows Phone 8 and Windows 8 Applications by Benjamin Day http://www.benday.com Visual Studio 2012 is out and we can write apps for Windows Store and now (finally)

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

HP ALM. Software Version: Business Views Microsoft Excel Add-in User Guide

HP ALM. Software Version: Business Views Microsoft Excel Add-in User Guide HP ALM Software Version: 12.20 Business Views Microsoft Excel Add-in User Guide Document Release Date: December 2014 Software Release Date: December 2014 Legal Notices Warranty The only warranties for

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

create_use_query_by_example.ppt Page 1 of 17

create_use_query_by_example.ppt Page 1 of 17 This is a training module for Maximo Asset Management version 7.1. In this module, you learn to create, save, update, and run a query by example within the Maximo user interface. Page 1 of 17 In this module

More information

Using HPU Analytics. September 2015

Using HPU Analytics. September 2015 Using HPU Analytics September 2015 1 2 Finding reports Finding reports as a learner Click ME, click Analytics, and then click All. To access the Admin area and some reports, you need to have the necessary

More information

Access Getting Started The Access Window

Access Getting Started The Access Window Microsoft QUICK Source Access 2007 Getting Started The Access Window u v w x y z Creating a Database Based on a Template When you create a database based on a template, preformatted tables, queries, forms,

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

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

TracDat Version 4. Within the latest version of TracDat, reports are divided into one of 5 groups:

TracDat Version 4. Within the latest version of TracDat, reports are divided into one of 5 groups: 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

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

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

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

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

CONSOLE APPLICATION USING C#.NET

CONSOLE APPLICATION USING C#.NET Microsoft Visual Studio 2010 CONSOLE APPLICATION USING C#.NET 4.0 Module 1:.Net Architecture 4.0 Introduction to.net Framework Installing.Net Framework SDK Base Class Library Common Language Specification

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

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

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

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

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

MVC :: Creating Model Classes with LINQ to SQL

MVC :: Creating Model Classes with LINQ to SQL MVC :: Creating Model Classes with LINQ to SQL The goal of this tutorial is to explain one method of creating model classes for an ASP.NET MVC application. In this tutorial, you learn how to build model

More information

To complete this database, you will need the following file:

To complete this database, you will need the following file: CHAPTER 4 Access More Skills 12 Specify Relationship Join Types Database objects forms, queries, and reports display fields from related tables by matching the values between the fields common to both

More information

BASICS OF C LANGUAGE

BASICS OF C LANGUAGE Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for Asp.net Given below is the brief description for the course you are looking for: Introduction of C Language How

More information

Follow Up Reminders User s Manual

Follow Up Reminders User s Manual Follow Up Reminders User s Manual Welcome... 2 Configuring the Add-in... 3 Follow Up Reminders Settings... 3 Troubleshooting... 5 Follow Up Reminder Copyright 2008 Sperry Software Inc. P a g e 1 Welcome

More information

Access 2007 Sorting. Access 2007 Sorting and Filtering Training Session Handout Page 1 Most topics came directly from Microsoft Access Help.

Access 2007 Sorting. Access 2007 Sorting and Filtering Training Session Handout Page 1 Most topics came directly from Microsoft Access Help. Access 2007 Sorting TABLE OF CONTENTS INTRODUCTION... 1 SORT THE RECORDS IN A VIEW... 2 SORT A TABLE, QUERY, OR FORM... 2 SORT IN THE QUERY DESIGN VIEW... 3 SORT A REPORT... 3 USE THE ADVANCED FILTER TO

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

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

Printer objects and printer properties can not be set up automatically at all.

Printer objects and printer properties can not be set up automatically at all. Configuring uniflow objects from file with the uniflow Database Manager Introduction In many uniflow projects there s the need for importing large numbers of uniflow objects like users and printers. Sometimes

More information

Sorting Data in Access 2010

Sorting Data in Access 2010 Sorting Data in Access 2010 Table of Contents INTRODUCTION... 1 SORT A TABLE, QUERY, OR FORM... 1 Sort in the query design view... 2 SORT A REPORT... 2 USE THE ADVANCED FILTER TO SORT... 3 UNDERSTAND SORT

More information

ASP.Net with MVC (Model View Controller)

ASP.Net with MVC (Model View Controller) ASP.Net with MVC (Model View Controller) Duration: 4 Months Overview of the ASP.NET Introduction of different Web Technology What is ASP.NET MVC Role of Model, View, and Controller How ASP.NET MVC Works

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

Introduction to XAML with WPF

Introduction to XAML with WPF Introduction to XAML with WPF An overview of XAML by JeremyBytes.com Overview Understanding XAML (extensible Application Markup Language) is a key to creating the latest.net user experiences in WPF and

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

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

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

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

Chapter 8. Web Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 8 Web Database Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Display and update database files in Web applications Access data with a data source

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

MONAHRQ Installation Permissions Guide. Version 2.0.4

MONAHRQ Installation Permissions Guide. Version 2.0.4 MONAHRQ Installation Permissions Guide Version 2.0.4 March 19, 2012 Check That You Have all Necessary Permissions It is important to make sure you have full permissions to run MONAHRQ. The following instructions

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

Creating Windows Applications with Kinect Functionality

Creating Windows Applications with Kinect Functionality Creating Windows Applications with Kinect Functionality David Zoltowski 3 April 2015 Executive Summary In this application note, I provide a tutorial for creating a Windows application that interfaces

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

Query Building in Slate For Faculty Reviewers

Query Building in Slate For Faculty Reviewers Query Building in Slate For Faculty Reviewers Use the Query Tool to create lists of student records that meet specific criteria. Some of the queries that you create in Slate will be used continually, while

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

Creating personal views and using Advanced Find in Microsoft Dynamics CRM Online

Creating personal views and using Advanced Find in Microsoft Dynamics CRM Online Work Smart by Microsoft IT Creating personal views and using Advanced Find in Microsoft Dynamics CRM Online Customization note: This document contains guidance and/or step-by-step instructions that can

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

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

Restricting and Sorting Data. Copyright 2006, Oracle. All rights reserved.

Restricting and Sorting Data. Copyright 2006, Oracle. All rights reserved. Restricting and Sorting Data Objectives After completing this lesson, you should be able to do the following: Limit the rows that are retrieved by a query Sort the rows that are retrieved by a query Use

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

Fundamentals of XAML and Microsoft Expression Blend Course 10553; 3 Day, Instructor-led

Fundamentals of XAML and Microsoft Expression Blend Course 10553; 3 Day, Instructor-led Fundamentals of XAML and Microsoft Expression Blend Course 10553; 3 Day, Instructor-led Course Description: This 3-day course covers core and essential XAML skills. The learner will gain valuable experience

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

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 Installation and Configuration Guide Revision E Issued April 2014 1 Table of Contents Overview... 3 Before You Begin... 4 Supported and Unsupported Web

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

Pearson Clinical Assessment Q-global User Guide

Pearson Clinical Assessment Q-global User Guide Pearson Clinical Assessment Q-global User Guide Managing Inventory PEARSON 2 MANAGING INVENTORY Managing Inventory Overview When inventory is purchased, you will need to set up the allocations for the

More information

Chapter 2 Introduction to the Web Browser Interface

Chapter 2 Introduction to the Web Browser Interface Chapter 2 Introduction to the Web Browser Interface This section introduces the web browser interface that enables you to configure and manage your NETGEAR GS700TS Gigabit Stackable Smart Switch. Your

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

UltraLog HSPI User s Guide

UltraLog HSPI User s Guide UltraLog HSPI User s Guide A HomeSeer HS2 plug-in to store and retrieve HomeSeer and syslog events Copyright 2013 ultrajones@hotmail.com Revised 01/27/2013 This document contains proprietary and copyrighted

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

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

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

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

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

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

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

CALCULATION FRAMEWORK USER GUIDE. Basic configuration for version 4.02

CALCULATION FRAMEWORK USER GUIDE. Basic configuration for version 4.02 CALCULATION FRAMEWORK USER GUIDE Basic configuration for version 4.02 COPYRIGHT Information in this document, including URL and other Internet Web site references, is subject to change without notice.

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

Space Information and Management System (SIMS) 3.0 User s Guide

Space Information and Management System (SIMS) 3.0 User s Guide Simple Solutions FM IWMS CAFM CMMS Software & Services SIMS 3.0 User s Guide Space Information and Management System (SIMS) 3.0 User s Guide Facilities Information and Technology Services http://go.osu.edu/fits

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