Add Snippets


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

18 July, 2012   

HTML code to add a Favicon to your site

10 September, 2011   

Example of adding a constraint

This code snippet populates a datagridview control using array objects.

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

13 June, 2011   

Providing your visitors with a way to add your web site to their favorite places provides a great way to obtain repeat traffic. This is a great way to increase your overall traffic and sales, as they can visit your web site again and again. However, to obtain repeat traffic, you must continually update your content and give your visitors a...

Example for adding filter column to FilterControl, Devexpress controls

10 June, 2013   

A simple add to favourites link for IE7

iPhone code snippet to handle taps within a UIWebView

18 June, 2011   

Add a space (or other delimiter) only if a variable is set, in order to avoid ugly unnecessary spaces.

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

15 March, 2015   

How to automize versioning by modifying a line in the AssemblyInfo file.

28 May, 2012   

How to add days to NSDate

30 August, 2016   

Use INTERVAL to add or subtract days.

An example PHP function return a value, use the return statement.

10 September, 2011   

Example code showing how to add a primary constraint. This Oracle constraint is used to identify the primary key for a table. A primary key is a single field or combination of fields that uniquely defines a record. None of the fields that are part of the primary key can contain a null value. A table can have only one primary key. This...

Add Non-Breaking Space on Title to Prevent Widows

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...

Code example using PHP to add/ remove nodes from an XML file

PHP code to add sortable column to WordPress in admin area .