Add Data Snippets


21 September, 2011   

Allows you to add a string to end or start of a field to use when comparing or selecting data. The second argument is added to the end of the first

Example for adding filter column to FilterControl, Devexpress controls

C++ source code for singly linked list - insert, remove, add, count

21 January, 2013   

VB code to add data using access

Note that to add a new column to the query, just add in an input box to the HTML, the PHP generates an insert for each field.

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

This snippet shows how to add treenode's to a treeview control. It also shows how to add sub nodes.

Two simple functions to read an write tab seperated files (like CSV files, etc).

11 September, 2014   

Code to display the current time as a .PNG image.

Source code for Binary tree creation, traversal and search

12 February, 2012   

ASP code example for DataList data binding with objects

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

05 March, 2017   

To add a "space" to the dock in OS X, open up Terminal.app and enter this. Enter it as many times as you want spaces. Error on too many, they are easy to remove. by Chris Coyier

This code will show you how to save data from gridview to xml file

03 June, 2013   

Plots a histogram from an external file with the frequency of each bin shown above each bar. The XTick is also the intervals of the histogram.

05 April, 2015   

A simple PHP script that outputs data into formatted columns.

31 October, 2011   

Declarations: Option Explicit On Imports System.Data.OleDb

18 July, 2012   

HTML code to add a Favicon to your site

Encodes the given data with MIME base64. Base64-encoded data takes about 33% more space than the original data.