Working with DataGridView

Working with DataGridViewThis lesson describes how to configure and work with data in a DataGridView control. The DataGridView is typically used to display the contents of a DataTable in a DataSet. This lesson shows how to:
- Use the DataGridView control to display and update the data.
- Bind a DataGridView control to a data source.
- Configure a DataGridView to use multiple data sources.
- Manage columns in a DataGridView control.
- Format a DataGridView control by using styles.
- Format a DataGridView control by using custom painting.
- Configure the column and cell types of a DataGridView.
- Add tables and columns to a DataGridView control.
- Delete columns in a DataGridView control.
- Respond to clicks in a DataGridView control.
- Validate input with a DataGridView control.
- Change data displayed in a DataGridView control at run time.
Read more

PERSONAL ENCRYPTED TALK - SECURING INSTANT MESSAGING WITH A JAVA APPLICATION

PERSONAL ENCRYPTED TALK - SECURING INSTANT MESSAGING WITH A JAVA APPLICATIONMost users of mainstream Instant Messaging applications on the Internet don’t realize their conversations are being transmitted in clear text and are vulnerable to eavesdropping during transmission. This project report presents a solution to this problem implemented in a final project for CS699 in the spring of 2005 at Rivier College. The project was entitled Personal Encrypted Talk and its primary goal was to secure Instant Messaging communications between two parties on the Internet. Secondary objectives were Java Cryptography Architecture research and the practical experience gained by the author in the development of a scalable Java based Graphical User Interface application. This article summarizes the software engineering steps followed during the implementation of this project.
Read more

Beginners C# Tutorial - Properties

Beginners C# Tutorial - PropertiesProperties provide the opportunity to protect a field in a class by reading and writing to it through the property. In other languages, this is often accomplished by programs implementing specialized getter and setter methods. C# properties enable this type of protection while also letting you access the property just like it was a field. To get an appreciation for what properties accomplish, let’s take a look at how to provide field encapsulation by traditional methods.
Read more

Tree-Based XML Programming Guide for Cocoa

Tree-Based XML Programming Guide for CocoaXML is a ubiquitous and flexible markup standard for processing and exchanging data. You can find XML in property lists, as the file format of various applications, and as the format of various sources of information on the Internet, including web-based services. The NSXML classes of Foundation give you a way to process this information efficiently. NSXML logically represents an XML document as a hierarchical tree structure and allows you to query this structure and manipulate its nodes. It supports several XML-related technologies and standards, such as XQuery, XPath, XInclude, XSLT, DTD, and XHTML.
Read more

Tutorial for the Java Context Awareness Framework (JCAF)

This tutorial contains basic information on how to run and program JCAF version 1.5. The theoretical thoughts behind JCAF is described in the PERVASIVE 2005 paper [3]. More technical details of the design of JCAF is described in the technical report on JCAF [1]. Please read these documents as a background for this tutorial. JCAF has been used to implement different context-aware applications and architectures [5, 2, 4]. JCAF version 1.5 is build on Java 1.4. JCAF relies on Java RMI for its distribution. Therefore, knowlegde and programming experience in Java RMI is needed before using JCAF.

Under normal circumstances, the JCAF ContextService should be able to dynamically load new classes on runtime without restarting the service. This is part of the standard dynamic classloading in Java using the codebase property. For some unknown reason, however, I have not been able to make this work in connection with JCAF. Therefore, in order to deploy and load you own classes – like your own implementations of new kinds of entities and context items – you need to add these classes to the classpath of the Context Service. The most convinient way to do this is to make a jar file, place it in the deploy directory, and add this jar file to the classpath property in the startup script (ContextService or ContextService.bat) before restarting the context service. This is done by the jcaf.examples.jar file.

Get pdf download Tutorial for the Java Context Awareness Framework (JCAF)

Next Page →