Do you know this example tricks?

Delphi / ADO Database

Error index out of range with ttable findnearest or findkey

C# / Reflection

Get an array of all the index parameters for the property

Java Tutorial / Language

Default values in an annotation

Oracle PLSQL Tutorial / Character String Functions

If the look for string is not present, then the replacing does not occur

JavaScript DHTML / Form Control

Auto focus textfield

C# Tutorial / WPF

Geometry Used as a Clip

JavaScript Reference / Javascript Collections

Imports JavaScript properties and JavaScript methods

VB.Net / GUI

Using CheckBoxes to toggle italic and bold styles

Java Tutorial / Internationalization

Set the default locale to custom locale

VB.Net / Development

20 random integers from 1 to 10

PostgreSQL / Postgre SQL

Using select into to set variable value

Php / Functions

Return multiple values from a function

Sample Android Codes

Android / 2D Graphics

Raster Line

Android / 2D Graphics

Captures given view and converts it to a bitmap

Android / Media

Call prepare for MediaPlayer before starting

Android / UI

This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a k a selection mode on GridView

Android / UI

A list view where the last item the user clicked is placed in the activated state, causing its background to highlight

Android / Development

Link resource with @

Android / Date Type

Tests if a string is numeric, i e contains only digit characters

Android / Network

Download Task

Android / Date Type

Get Current Time

Android / UI

Add android

Android / Date Type

Returns true if the string does not fit in standard ASCII

Android / UI

Using SimpleCursorAdapter

Sample C# Codes

C# / WPF

Create a Background Worker Thread in XAML

C# / WPF

Assign your own class to DataContent and bind to TextBox

C# / Reflection

Invoke a member with Activator

C# / File Stream

Initializes a new instance of the StringWriter class with the specified format control

C# / WPF

Geometry Transform for Path

C# / ADO Database

PacketSize

C# / WPF

Shaking Button

C# / WPF

Define a GridSplitter and Keyboard Increment

C# / ADO Database

Call the SQL Server AddProduct() store procedure

C# / WPF

The Opacity property of this rectangles SolidColorBrush is animated

C# / Reflection

Dump the public methods of a class

C# / Language Basics

Exception handle with your own exception class

Sample Java Codes

Java / Collections Data Structure

Finding elements in a vector

Java / Regular Expressions

Display all URLs in a web page by matching a regular expression that describes the a href= HTML tag

Java / JPA

Query for One To Many Mapping

Java / Database SQL JDBC

Type info in database metadata

Java / Regular Expressions

Match Name Formats

Java / Development Class

Get Time From Date

Java / Network Protocol

SMTP talker class

Java / Swing Components

Color TabbedPane Example 2

Java / Development Class

Demonstrate the %n and %% format specifiers

Java / Swing JFC

JEditorPane Example 15

Java / JSP

JSP session counter

Java / 3D Graphics

Test frame class for the dealing with J3D experimentation that uses Swing

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.