Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Layouts, RenderBody, RenderSection and RenderPage in MVC

Basic structure of Layout Page <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @RenderBody() @Scr

  • 140
How to load properties file and fetch values by using annotation in Spring

Properties file: It is basically used to store data that is constant and can be used anywhere in the program. Example: You can store the database credentials and connection parameters in the file and fetch it when required. How to use: PropertyP

Common Table Expressions

CTE:Common Table Expressions 1)CTE's replace subqueries i.e they are result of complex queries so can be defined as temporary resultset. 2)CTE's are mainly used for recursive programming. 3)The lifetime of CTE's is the individual query it live in

SQL Server : Read only databases

Databases whose data is not required to be changed should be considered to be set as READ ONLY.Databases can be set to READ ONLY mode and back using T-SQL and SSMS. Following are the scripts that can be used to set database read only and back: --

UNION CLAUSE IN SQL

UNION CLAUSE The union operator in sql is used to combined two different queries into a singel table. For eg:-we have one table which have information about employee, also have another table that have information about their department, and their is

Types of validation controls in ASP.NET

Validation is an essential part of any web application. It is used to validate user input data. Before sending the user's input to different layers it must be validated. Validation is of two types:- 1. CLIENT SIDE- client side validation is conside

StringBuffer in Java

StringBuffer: As we know in Java String is immutable means we cannot reassign a new value to the same string object. That's why in Java to provide mutability we use either StringBuffer or StringBuilder. StringBuffer is a class in Java which provide

Background job using whenever gem rails

Whenever gem is used to easily schedule tasks using cron jobs, it enables you to manipulate standard functionality of your machine using Ruby code. 1: To start with Whenever we have to install gem gem install whenever # insert this line in yo

Temp Table and Temp variable in sql

Temp Table -Temporary Temp Tables 1)They can be created at run time in Tempdb database. 2)DDL,DML statements like select,update which can be executed on regular tables can be done on temporary tables. They can have constraints and can be indexed.

ArrayList Class

ArrayList: The arraylist class provides dynamic arrays for storing elements. It extends AbstractList class and implements List interface. It stores only one type of objects (generic array). Syntax: ArrayList<String> arr=new ArrayList<Str

1 408 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: