Introduction of jQuery

Originally posted on pk java tutorials:
Introduction of  jQuery: jQuery is a JavaScript library, which lightweight and work on “write less, do more” concept. jQuery can do a lot of common tasks that require many lines of JavaScript code to accomplished that task, and wraps them into methods that may call with a single line…

Sql SUM() Function.

Originally posted on Learn Prg.:
The SUM() Function The SUM() function returns the total sum of a numeric column. SQL SUM() Syntax SELECT SUM(column_name) FROM table_name; A simple syntax to get final result in single field. SELECT SUM(Quantity) AS TotalItemsOrdered FROM OrderDetails; prd_id prd_name prd_costA prd_costB prd_costC 1 mango jam 15223 4424 73239 2 custard…

Counting the number of elements in a sequence with LINQ C#

Originally posted on Exercises in .NET with Andras Nemes:
Say you have the following sequence of strings: string[] bands = { “ACDC”, “Queen”, “Aerosmith”, “Iron Maiden”, “Megadeth”, “Metallica”, “Cream”, “Oasis”, “Abba”, “Blur”, “Chic”, “Eurythmics”, “Genesis”, “INXS”, “Midnight Oil”, “Kent”, “Madness”, “Manic Street Preachers” , “Noir Desir”, “The Offspring”, “Pink Floyd”, “Rammstein”, “Red Hot Chili Peppers”,…