C#
This code blocks returns random number each call
Delphi
This code exemplifies the uses of the FindKey and FindNearest functions. This example requires a ClientDataset, a DataSource, a DBGrid, and a DBNavigator. Connect the DataSource to the DataSet and then connect the DBGrid to the DataSource. Also, the DBNavigator needs to be connected to the DataSource. Now you need to create two fields in the DataSet. Right-click the TClientDataset component, select Fields Editor, create two fields named field1 and field2. Then specify the IndexDefs property for ClientDataSet in the Object Inspector. Add two indexdefs. The first one should have the Fields property set to field1 and the Name property set to field1index while the second one should have field2 and field2index.
Run the example, press the Create "DataSource" button, then add some records to the DBGrid with the aid of DBNavigator. After that, enter one of the values in any record in "field1" in the "Search for:" edit box. Press the "FindKey" button and observe the message that appears on the screen. Do the same with the "FindNearest" button.
C#
This Code Performs Text Operations in a File
JavaScript
Character Counter with Javascript
C#
This Code Shows How to Illustrate Bitwise Operations
JavaScript
Searchable Images with Javascript
Delphi
This example requires a TRichEdit, a TButton, and a TFindDialog. Clicking the button Click displays a Find Dialog to the right of the edit control. Filling in the "Find what" text and clicking the Find Next button selects the first matching string in the Rich Edit control that follows the previous selection.
Java
Clock Applet in Java
PHP
Directory browser in PHP
C#
C# 2.0 Nullable Data Readers
This code shows nullable data readers for .NET 2.0 nullable types.
C#
this is the usage of autoresetevent in c#
C++
Implementation for stack in C++
C#
This Code Prints Binary Equivalent of an Integer using Recursion
C#
This Code Shows How to Perform Merge Sort.
A merge sort is a sorting algorithm with complexity of O(nlogn). It is used for sorting numbers, structure, files.
Java
Grid Layout Demo in Java
PHP
Credit Card Identification and Validation Class - The credit_card class in PHP
provides methods for cleaning, validating and identifying the type of credit card numbers
Contact Us