
Search In
Friend class in C++
Friend class
Protected and private members of a class cannot be accessed from outside the class in which they are declared. A friend class can access these members of another class in which it is declared as friend.Friend declar
Below I have written the code for how to send data using Intent in Android from one Activity to another.
Intent i = new Intent(getActivity(), UploadWeldService.class);
i.putExtra("mCapturedImagePath", mCapturedImagePath);
i.
Hello All,
Earlier, we have used image for gradients effect but now we will use gradient using css3 and we will see how to use many colors in gradient and only one color in gradient.
Gradients are declared by background-color but according to short
Can we bind a DropDownList using List<> in Asp .Net
The Answer is :
Yes, we can bind a DropDown in Asp .Net using List<>. Please go through the following code for Example:-
Let's create a Class say DropdownClass, in the class we create
We can insert data from one table to another in MySQL. For this we use the INSERT INTO SELECT statement that selects the data from on table and inserts that data into another table.
INSERT INTO SELECT Syntax
We can select and insert all the columns
Left Join:
Left Join is used to join two tables and it return all rows from table 1 and matching rows from table 2. The result is NULL for unmatched rows for table 2. Left Join keyword is used to apply Left Join on two tables.
Syntax for Left Join:
INSERT ALL Statement:
With the help of INSERT ALL statement we can add multiple rows with a single INSERT statement. We can use this statement to insert multiple rows in one or more than one tables. It eliminates the need of writing insert statement
Both mysql_connect() and mysql_pconnect() are used for database connection.
mysql_connect()
In mysql_connect() function opens and close the database connection, depending on the request. Every time a new connection is established, when using mysql_
$(“div[id^='box']”)
The above expression mean selecting all div elements whose id attribute start with box like box1, box2 etc.
Program to demonstrate above expression:
<html lang="en">
<head>
<script src="
ereg_replace()
ereg_replace() function is used to replace regular expression case sensitive.
Syntax of ereg_replace() is:
string ereg_replace ( string $pattern , string $replacement , s
