|
|
-
|
|
Today we will make a cascading dropdown application of Country, State and City in JQuery
N.B.~ We are using JQuery 1.6.1
Let us first make the entities.We will have 3 entities here viz, Country, State and City
Country Entity(Country.cs)
///
/// Summary description for Country
///
publ......
|
|
-
|
|
Let Us Learn Oracle - Part 30 of N [ VSize function of Oracle ]
Purpose: It returns the number of bytes in the internal representation of expression. If expression is null, it returns null.
SQL> Select EMPNAME, VSize(EMPNAME) VSizeExample
2 From tblemployee;
EMPNAME ......
|
|
-
|
|
Given a dictionary object as under Dictionary&tt;string, List> dictContinents = new Dictionary&tt;string, List>();
dictStr.Add("Asia", new List() { "India", "Pakistan", "Bangaladesh", "Singapore" });
dictStr.Add("Africa", new List() { "Uganda", ...
|
|
-
|
|
new XElement("Country", new XAttribute("Name", x))))
)
);
Console.WriteLine(doc.ToString());
Hope this will be helpful. ...
|
|
-
|
|
Introduction
In this article, I will show how to invoke Javascript methods from Silverlight. We will learn this by performing a simple calculator example with some basic arithmetical functionalities being expose.
What we need to perform the experiment?
Well for doing this experiment, what we ne......
|
|
-
|
|
VB, VB.net and C# (4.0) developers knows what a named and optional parameter is. For those who are not familiar with the concept,it is like calling a function parameter by it's name instead of passing all of them.
Consider a small example( it is only a pseudo code)
function Add(int a = 0, int b......
|
|
-
|
|
EXIT statement
EXIT statement is similar to the BREAK statement found in other programing languages like C, C++, Java, C# , JavaScript, SQL SERVER etc.
It breaks the loop statement once the specified condition becomes true and then control comes to the statement immediately following the loop
S......
|
|
-
|
|
String_To_Array function in PostgreSQL
Purpose: This functions splits a string to an array provided the delimeter is supplied. It returns an array.
Syntax:String_To_Array(String,delimeter)
Simple Example
Select String_To_Array('Hello World Today I am learning String_To_Array It is very cool','......
|
|
-
|
|
In PostgreSQL we can use the Serial datatype for generating the identity column
CREATE TABLE tblIndentity
(
EmpID Serial NOT NULL,
EmpName Character Varying(20)
);
NOTICE: CREATE TABLE will create implicit sequence "tblindentity_empid_seq" for serial column "tblindentity.empid"
Que......
|
|
-
|
|
SubTypes in PL/SQL
Purpose:These are user defined types based on other data types.It gives an alternate name to the existing type
Syntax: SUBTYPE IS
Let us look into some example. Let us write a program to find the factorial of a number.This time we will accept the number at runtime.
DECLAR......
|
|