
Search In
Difference between ViewBag, ViewData, or TempData in MVC:-
In Asp.Net MVC you have three ways to pass data from controller to view and in the next request. They are ViewData, ViewBag and TempData.
ViewData:- Viewdata helps to maintains data when
The setTimeout() method in JavaScript sets a time interval during which the CPU wait to perform the task specified in it. It alter the time interval of the CPU to perform the tasks.
The Syntax of the setTimeout() is as :
setTimeout(task1,Timeinterv
A view is a virtual table which is stored in database with an associated name .Using views query we can select specific data from a large table . Suppose there is large database of any college , so i want to view the records of any one branch from th
Spring security gives us the feature to auto login into the system just after creating an account.
Other way is to register then go to login page, and then login to the system. When we login login mechanism spring automatically creates the session f
Drupal provide a mean to pass information easily to JavaScript. Many applications want to pass configuration information to JavaScript that runs on a page.
"Hello World!"), 'setting');
//Inline Js
drupal_add_js('alert(Drupal.settings.helloworld);',
Here I have created save data item and fetch data Item from local server. In below code first I have created DatabaseSave class and craeted database like Caller name ,CallerDetails,CallNumber etc.
After defining database class I have created table an
If you want your block draggable and resizable, the following code will help you for the same:
HTML:
<section class="map">
<div class="container-fluid">
<div class="this-week panel-group dayListing" id="accordion" s
ARC Memory management
1)Methods you can’t call (or override) anymore
You will have to remove all calls to these methods without substitution:
1)retain
2)retainCount
3)release
4)autorelease
5)Dealloc
You also can’t use the retain keyword with
The jQuery serialize()
method turns the form values into a valid querystring, as such you can simply append to the string:
firstName=Maurizio&lastName=Tarchini
Useful, right?
Lets take an example:
<p><em></em></p><
Marker Interfaces or Null interface in Java are special type of interfaces in character as they have no methods declared in them which means that if any classes implementing these interfaces don't have to override any of the methods.
JDK provides a
