Linked Server Snippets


11 December, 2014   

C++ code snippet of simple stack using linked lists, can be used for database management system.

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

Note: The ASP.Net RadioButtons must be set with exact same GroupName property in order to make them mutually exclusive.

18 December, 2014   

Example code for locking table. when a user modifies data through a transaction, that data is locked by that transaction until the transaction is committed or rolled back.

15 July, 2013   

This code will be used to bind an xml file to gridview

07 March, 2011   

Shows how to upload a single file to a FTP server.

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.

Normally index.html or index.php is the default page a server serves up when visiting a directory without specifying a file name. You can change this with .htaccess:

05 May, 2012   

ASP code example to return a long representing the record count returned by an SQL statement

Asp.Net code snippet for Database Query Within WebServices

An example of simple stack using linked lists, can be used for database management system.

An example code to restore MSSQL database from backup

Usually when you try to download something from a web server you get a request asking whether you want to save the file or open it. To avoid that you can use the below code on your .htaccess file

How to close child window when parent window is closed using JavaScript in asp.net application

13 October, 2013   

To create 'examples' database on your MySQL server you should run the following script

Whenever a row is inserted in the Customers Table, the following trigger will be executed.

11 March, 2015   

PHP code shows how to upload images into a mysql database using

To get a user count the code below goes in your "global.asa" file which needs to go in the root of your web site. You web site must be properly set up as an application in IIS for this file to fire and do it's thing.

Sending short text messages with socket datagrams is simple to implement and provides a very lightweight message passing idiom.

This is an example for Form Based Query