Codes from Developers

PHP

Bubblesort,routine,php

Bubblesort routine in php


C#

c#,xml,nodes,attribute

This Code Shows How to Select XML Nodes by Attribute Value


Transact-SQL

sql,get,tables,sizes,of,db,size

this code block returns sizes of tables in your db


Delphi

draw,grid,top,row,DrawGrid,delphi

This code uses a draw grid and a button on a form. When the user clicks the button, the last row of the draw grid becomes the top row. This example requires a button, a DrawGrid, and a populated ImageList.


C++

Quadratic,Equation,c++

Quadratic Equation in C++


Delphi

FishFacts,delphi

The following example copies the data in the Graphic field of Table1 or SQLDataSet1 to the Pictures field of ClientDataSet1.


C++

A,simple,example,using,a,virtual,function,in,c++

A simple example using a virtual function in C++


PHP

Check,number,characters,range,php

Check number of characters in a range in php


Delphi

FMXInteractiveGestures,delphi

This interactive gestures example is designed for a touch screen interface. The example works on both Windows 8 and Windows 7. The Add Picture option makes an Open dialog appear, where you can select pictures (.jpg, .jpeg, .bmp, .png – more extensions can be added in the procedure TForm36.MenuItem1Click). The pictures are added as 200x200 images on the form (one on top of the other if more than one picture is selected). You can manipulate the picture(s) by using interactive gestures: Pan – moves picture around Zoom – makes picture smaller/bigger Rotate – rotates the picture Press and Tap – deletes the picture TGestureEventInfo is used by the interactive gesture procedures.


C#

c#,lcm,least,common,multiple

This Code Shows How to to Find LCM


C#

observer,pattern

Observer Pattern


JavaScript

Styling,a,Google,Map,javascript

Styling a Google Map in Javascript


C#

c#,generate,fibonacci,series

This Code Shows How to Generate Fibonacci Series


Java

Delegate,servlet,requests,to,a,handler,java

Delegate servlet requests to a handler in Java


C#

c#,zip,file,unzip,file,with,SharpZipLib

this code will let you zip file via c#


C#

clone,class,model,copy

This code block clones a model with values and so that referencial changes does not affect new class.


Delphi

BevelInner,BevelOuter,BevelWidth,BorderWidth,delphi

This example uses a panel component and a button named CreateStatusLine on a form. The code moves the panel to the bottom of the form when you click the button. The code also gives the panel the appearance of a status line by changing the value of the BevelInner, BevelOuter, BevelWidth, and BorderWidth properties.


PHP

Authenticator,with,Cookies,and,Redirect

An Authenticator with Cookies and Redirect in php


PHP

This,code,displays,graphical,tree,similar,Windows,Explorer,php

This code displays a graphical tree (similar to that of Windows' Explorer) in PHP from the contents of a database table


PHP

XML,Reader,php

XML Reader in PHP