
Search In
"ViewData vs ViewBag vs TempData vs Session"
There are following four ways to pass data from controller to view in Asp .Net MVC:-
ViewData
ViewBag
TempData
Session
Overview:
Let us see them in more detail:
ViewData:
It is a dicti
Single sometimes have become aware of one word generally known as working with hypnotherapists. Strategy is truly a undertaking and that's ordinarily misunderstood on tv. For this, numerous individuals panic hypnosis. Regardless of this, smokers real
Hello Guys,
Serpent Consulting Services Pvt. Ltd. has extensive experience in the field of ERP implementation and consulting. We present you the module that allows the user to select the Lab to get the lab test done.
GNU Health is a health care sys
Google provides a simple and free* API for querying currency exchange rate. You can convert the currency using google apis url which are given below
https://www.google.com/finance/converter?a=$amount&from=$from_Currency&to=$to_Currency
Whe
In MySQL, COUNT() function used to return the number of rows that matches with a specified criteria.
Syntax:
COUNT(column_name)
When we use COUNT(column_name) function in select query it returns the number of rows for the specified column:
SELECT
Sometimes we need to filter records based on some conditions, for that we use the AND & OR operators in MySQL.
AND operator - We use AND operator if we require both conditions in a query means the AND operator displays a record only if both the
Promises are logics that are executed after any function is completed. In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.
Deferred helps to con
Create the html for multiple file upload.The form action would go to the "uploads.php" file.
<form action="upload.php" method="post" enctype="multipart/form-data">
Select Files:
<input name="blogimg[]" type="file"/&
ROW_NUMBER()
RANK()
DENSE_RANK()
All of these three functions are used to calculate the Id of row but in different way.
I am using the below script for examples
​
CREATE TABLE Marks
(
SubjectId INT,
Marks INT
)
INSERT INTO Marks VAL
Hello Readers! Here is a cakephp code to reset your password.
Create a view reset.ctp and paste the below code to it:
<?php echo $this->Session->flash(); ?>
<div class="container">
<div class="midBlock clearfix">
