
Search In
It is a very simple and powerful ajax method to load the data from the server and display it in the selected element.
$(selector).load(URL,data,callback);
URL parameter specifies the URL you wish to load
data parameter specifies a set of querystr
It is used with the like operator to compare the values of the type similar.
It support two wildcards type
1. The percent sign (%)- It match to one or more character.
2. The underscore (_)- It match to one character.
The percent sign repr
In MySQL, we can select rows where a column is null by using IS NULL operator.
We have a table "employee" as below:
employee
id first_name salary country
......................................................
// date from string
NSString *dateString = [NSString stringWithFormat:@"%@",_model.time]; // model.time is the field in which we are fetching the string.
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter se
In the MVC view we can also bind the values in to the link button if we want.
This will help to manipulate the database values with the help of their primary fields instead of passing the entire model into the action.
We hav
There are several methods in javascript for redirecting a user to different page in the current browser window.
Two of them are as follow
location.href
location.replace
location.href:- If we use following script then the user will be redirecte
If we have to many tables in our project and we have many association between them. So whenever we use one of the model in our controller the other model which are associated with it , automatically get attached with user data .
Sometime we don'
While doing deletion of records in the list view of the MVC project you need to perform it using the modal popup which will make this task easy and efficient.
No need to go for another action and view for deletion just delete it after giving
In MVC we need to make calls to the other action from the view side doing that will require to make a call form the script end.
For doing this we need to make a JQuery function and to make call from the view from the script.
FormCollection class in MVC is used to send or retrieve form data from one view to another.
Using this you can access every element of your form means all the controls
Form collection is the collection of all the object that we use in our vi
