C# Arithmetic Operators

Operators ar very helpful thing in computing value. while writing a program, you would like various types of operators to calculate value. These operators ar categorised as totally different classes in C sharp tutorial that performs specific task ex. The C# arithmetic operator performs basic calculation as add, subtraction, multiplication, division, and modulus whereas alternative….

C# Switch Case Constructs

Switch case is additionally another condition constructs in C# programming that evaluates the condition as if else however only difference is that it makes program easier and easier. it’s used once there’s multiple if condition in a very program. It also includes a default price in Default statements. If no any case matches then Default….

C# If Else Constructs

Posted in C#Tagged ,

The if… else construct is used for determinant the flow of program based on returning expression value. It evaluates the comparison operator and based on value executes the statements. for instance, if you would like to execute a bit of code, once the requirements meet then if… else construct verify that piece of code are….

What is RDBMS

What is RDBMS? RDBMS stands for relational database Management System. RDBMS is that the basis for SQL, and for all information systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access. A relational database management system (RDBMS) could be a management system (DBMS) that’s supported the relative model as introduced by E. F…..

Join Query using Entity FrameWork

Posted in C#, LINQ, MVCTagged ,

In this article i am explaining how to use JOIN method in Entity Framework. Below is very simple and easy example. var query = db.Employee // source .Join(db.Salary, // target c => c.EmployeeID, // FK cm => cm.EmployeeID, // PK (em, sal) => new { Employee = em, Salary = sal }) // project result….

Asp.Net DataTable Crud Operations

In the .Net developer’s life it is very common to come across the datatable manipulation. So here i have decided to explain the datatable manipulation like adding ,editing , updating or deleting records from datatable based on the condition and apply sorting datatable based on columns. DataTable: It represents one table of in-memory relational data,….

How to get top 10 records in linq

In this article i am explaining how to get top 10 records in LINQ. below is very simple and easy example. var top10 = (from u in db.Users orderby u.UserId descending select u).Take(10); Note: If you take method then must be use order by clause.  

Partial View in ASP.NET MVC

Partial View in ASP.NET MVC like a  User Control in ASP.NET Web Forms. In order to reuse a View in our MVC application (For example, use a header, list of items or footer etc.), Partial Views are introduced that basically renders inside a Parent View. Let’s give an example to understand the concept of Partial Views in more….


In this article i am explaining mazor different   between Asp.MVC vs Asp.Net Web Forms. ASP.NET WebForms ASP.NET Web Forms uses Page controller pattern approach for rendering layout. In this approach, every page has it’s own controller i.e. code-behind file that processes the request. No separation of concerns. As we discussed that every page (.aspx)….

What is view state in asp.net

In Asp.Net ViewState is used for maintain the state of asp.net controls during page postback and if we save any control values or anything in viewstate we can access those values throughout the page whenever it required for that check below very simple example. <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title>View State in asp.net </title> </head> <body> <form….