Please enable Javascript to correctly display the contents on Dot Net Tricks!

Dot Net Tricks Tutorial - For Beginners & Professionals

.net article,c# tutorial,asp.net tutorial,linq tutorial,wcf tutorial,mvc tutorial,entity framework tutorial,sqlserver tutorial,jquery tutorial,visual studio tutorial
 
Posted By : Shailendra Chauhan, 16 Nov 2012
Updated On : 11 Jun 2014

Somtimes you required to have more than one submit buttons on the same form in mvc razor. In that case, how will you handle the click event of different buttons on your form?

 

 

Posted By : Shailendra Chauhan, 07 Nov 2012
Updated On : 24 Jun 2014

By default, SQL Server 2000, 2005, 2008 and 2008R2 doesn't provide intellisense like Visual Studio. While writing T-SQL statements, we need to recall the database table structure (including columns, their data types, size) and other database objects structure like stored procedure, view and functions again and again. Sometimes it becomes tedious task.

 

 

Posted By : Shailendra Chauhan, 07 Nov 2012
Updated On : 24 Jun 2014

Do you have fun with SQL Server?. Let's start fun with SQL Server. Suppose you want to swap the values of two columns of a table in SQL Server, how could you achieve this tricky task?. Actually, it is simple and so funny.

 

 

Posted By : Shailendra Chauhan, 04 Nov 2012
Updated On : 11 Jun 2014

While programming with Asp.net MVC, you should be aware of the life of an Asp.net MVC request from birth to death. In this article, I am going to expose the Asp.net MVC Request Lifecycle. There are seven main steps that happen when you make a request to an Asp.net MVC web applications:

 

 

Posted By : Shailendra Chauhan, 03 Nov 2012
Updated On : 24 Jun 2014

By default MVC is configured to resolve a view by searching the views that match the Web Form view engine's naming conventions first. After that MVC begins search for the views that match the Razor view engine's naming conventions as shown in below fig.

 

 

Posted By : Shailendra Chauhan, 03 Nov 2012
Updated On : 18 Jun 2014

Asp.net framework is a part of .net platform for building, deploying and running web applications. Now, we can develop a web application by using Asp.Net Web Form and Asp.Net MVC. In this article, I am going to expose the main difference between Asp.Net Web Form and Asp.Net MVC.

 

 

Posted By : Shailendra Chauhan, 03 Nov 2012
Updated On : 07 Jan 2016

Asp.net MVC Controllers are responsible for controlling the flow of the application execution. When you make a request (means request a page) to MVC applications , a controller is responsible for returning the response to that request. A controller can have one or more actions. A controller action can return different types of action results to a particular request.

 

 

Posted By : Shailendra Chauhan, 02 Nov 2012
Updated On : 11 Jun 2014

jQuery intellisense support helps a lot while programming with jQuery. By default Visual Studio doesn't provide us the jQuery intellisense support. We can enable the jQuery intellisense support in Visual Studio with MVC Razor by adding vsdoc.js file to your view like as :

 

 

Posted By : Shailendra Chauhan, 02 Nov 2012
Updated On : 02 Nov 2012

In Asp.net, we can custom the look and feel of a server controls by using CSS class,id and inline css. Similarly, we can change the style of Html Helpers in MVC razor. I this article, I am going to explain how can change the style of a Html Helpers by using CSS.

 

 

Posted By : Shailendra Chauhan, 27 Oct 2012
Updated On : 28 Mar 2015

C is called middle-level language because it is actually binding the gap between a machine level language and more conventional high-level languages. User can use c language to doSystem Programming (for writing operating system) as well as Application Programming (for generate menu driven customer billing system ). So that it is called middle level language.

 

 

Posted By : Shailendra Chauhan, 26 Oct 2012
Updated On : 30 Jan 2014

Variables or symbolic variables are the names of storage location of computer memory whose values may vary during execution of a program.

 

 

Posted By : Shailendra Chauhan, 25 Oct 2012
Updated On : 16 Dec 2012

Constant in C refers to the fixed values that do not change during the execution of a program. C supports several types of constants that I am discussing in this article.

 

 

Posted By : Shailendra Chauhan, 23 Oct 2012
Updated On : 30 Jan 2014

C is one of the most popular computer language developed at AT&T;’S Bell laboratories of USA in 1972 .It was developed by Dennis Ritchie.

 

 

Posted By : Shailendra Chauhan, 18 Oct 2012
Updated On : 03 Dec 2014

There are Different Types of SQL Joins which are used to query data from more than one tables. In this article, I would like to share how joins work in LINQ. LINQ has a JOIN query operator that provide SQL JOIN like behavior and syntax. Let's see how JOIN query operator works for joins. This article will explore the SQL Joins with C# LINQ.

 

 

Posted By : Shailendra Chauhan, 16 Oct 2012
Updated On : 16 Oct 2012

Partial class, interface and structure was introduced in C# 2.0. Now it is possible to split the definition of an class, interface and structure over more than one source files. Moreover the other parts of the class, struct, or interface should be defined in the same namespace or assembly. All the parts must have the partial keyword and same access modifier like as public, private,so on.

 

 

 
 
13 AUG
NodeJS Development (offline)

Sat, Sun 05:00 PM-06:30 PM

More Details
12 AUG
NodeJS Development (online)

Mon-Fri 06:00 AM-7:30 AM IST

More Details
8 AUG
ASP.NET MVC with AngularJS Development (online)

Monday      09:30 PM-11:00 PM IST

5 AUG
AngularJS Development (online)

Mon-Fri     08:00 PM-09:30 PM IST

1 AUG
ASP.NET MVC with AngularJS Development (online)

Mon-Fri     (07:30 AM-09:00 AM IST)

24 JUL
AngularJS Development (offline)

Sat,Sun     (08:00 AM-09:30 AM)

24 JUL
ASP.NET MVC with AngularJS Development (offline)

Sat, Sun     (09:30 AM-11:00 AM)

BROWSE BY CATEGORY
 
SUBSCRIBE TO LATEST NEWS
 
LIKE US ON FACEBOOK
 
+