
Search In
To take backup of structure only you need to execute the following command:
mysqldump -u [username] –p[password] –no-data [database_name] > [dump_file.sql]
Here, –no-data tells the mysqldump to take the structure backup only.
Magento provides a way to add product attribute from admin but sometime we need to add category attribute in our category settings. So here I am going to tell you the way we need to create category attribute programmatically.E.g. I am creating one ag
There are few steps which we have to follow to implement Push Notification.
Step 1: First we will write the api to get token and device type . Here is the controller code of push notification.
public function pushNotification() {
$validator
This is very important tutorial to READ EXISTING CONTACTS from device contacts list .There are some following steps to do this process.
Step-1 - Add a permission to open and read contacts from contacts list to your manifest xml file.
<uses-perm
The Apache POI API is used to work with Excel files in java. By using Apache POI you can easily read and write the Records and data to Excel files. Here the below code can used to read and write the data in Excel files.
import java.io.File;
import
Hello all
Working with SQL Server we have to copy data from multiple sources and from this purpose we can use SqlBulkCopy Class which helps us to bulk copy data from different data sources to SQL Server database. This class is present in the System.
Model View Controller is abbreviated as MVC. MVC is the popular web design architecture because it separates the business logic from its view or presentation.
It has three components:-
Model- an object carrying data.
View- visualization of data t
While binding data with GridView control the two of major things that we want is to sort data and to filter data.
First thing can be done by writing Sql query with order by clause.
Select * from student order by StId
Secon
How to setup a rating feature in rails application.
The best and simple way of doing so is by using RAILS GEM ratyrate by following simple steps.
Step 1: Include GEM in your gem file
gem 'ratyrate'
Step 2: Generate
While requesting for the data parsing the request and then providing the response is mainly done by using the TCP/IP model.
We need to ensure that it is being done while making the HTTP request and the HTTP response.
These a