Programming Unit

Its our first article on AngularJS in which we are going to design a basic Grid-view, so I’d like to keep everything straight forward and will try to provide as much explanation as possible in order to make sure that you guys understand everything. Learning how to create a grid functionality is one of the […]

Did you guys remember coding/programming/developing the Fibonacci series program when you first started learning C or VB.net. It is one of the most basic logic that you need to be aware of and frankly speaking I have never used this Fibonacci number generation in my professional career till now. But still developing the Fibonacci series […]

Copy Text from Textbox with Button Click [JavaScript]

August 20, 2014

We are back with yet another programming tutorial. This is a beginner’s Javascript code, that you have to try if you’ve started learning JavaScript lately. In this program, we will create two text boxes and a button, in which whatever you enter on to the first textbox will be copied onto the second textbox if […]

Read the full article →

JavaScript: Turn-on and Turn-off light [onClick Event]

August 8, 2014

This is a very simple JavaScript tutorial. In this tutorial, we will be discussing about how to turn-on and turn-off the light of a bulb. The logic is pretty simple over here. We are not doing some rocket-science. We are just taking couple of images First Image – Bulb 1 (turn-off state) Second Image – […]

Read the full article →

How to Enable and Disable Remote Access to users in MySQL

Thumbnail image for How to Enable and Disable Remote Access to users in MySQL June 19, 2014

When you try to connect to a Database using a tool like MySQL Workbench then you may run into an error like below, as the user is not allowed to access the Database from a remote location. Access denied for user ‘username’@’192.168.2.2′ (using password: YES) Note: You’ll require Administrator privileges. How to Enable Remote Access […]

Read the full article →

JavaScript to Validate Age entered by User

Thumbnail image for JavaScript to Validate Age entered by User April 24, 2014

This is our first article in JavaScript category. In this article we are going to explain JavaScript to validate the age entered by the user. For instance you have a web form which need to accept users of age between 18 and 25. This is a simple script which has two events, onfocus – triggers […]

Read the full article →

JavaScript to print Multiplication Table of a Number

April 20, 2014

In this article we are going to print Multiplication Table of a Number using JavaScript. We take an input from the user and print the multiplication table. We use the onchange event to capture the input provided by the user. printTable() function In this function we check whether the input provided by the user is […]

Read the full article →

Java program to find the frequency of a given letter in Text

March 18, 2014

In response to one of our readers, we have written this Java Program to find the Frequency of a given Letter in Text. You can read Java Program to Count Frequency of Words in given Text here. In this program we are taking a String input for Text and another String input for Letter to […]

Read the full article →

Java Program to perform Matrix Multiplication

Thumbnail image for Java Program to perform Matrix Multiplication March 16, 2014

Earlier we have discussed Java Program to perform Matrix Addition, we’ll discuss about Java program to perform Matrix Multiplication. Matrix Multiplication is a mathematical operation in which we take two matrices arrays and perform multiplication between them to produce the resultant matrix array. So how to do the Matrix Multiplication? What are the rules? The […]

Read the full article →

Difference between Delete and Truncate Commands

Thumbnail image for Difference between Delete and Truncate Commands March 15, 2014

Delete Delete is used to remove the records that are contained in a Database Table. For example, if we have a table named Employees and we want to delete all the records from that table, then our SQL query looks like: If we want to delete only a specific record, say employee with employee id […]

Read the full article →