Use the where linq filter operator to obtain the value from the column index
In this article, you will learn about a key LINQ concept known as deferred query evaluation.
Difference between IEnumerable and IQueryable in C#
In this article, we will explore how to validate Asp.net MVC Application Using Fluent Validation.
If you want to do simple validation in our asp.net MVC application then Data Annotation is good but when it comes to applying complex validation to manage it with Data Annotation is a little bit difficult.
for complex validation it is good to use FLuent Validation.
A Select operator is used to select values from the collection.
A SelectMany operator is used to select values from the collection of collection.
Like SQL LINQ also provides join.
LINQ joins are used to fetch data from one or more data sources based on having a common key and results in a new data source.
In this article, we will learn how to convert a DataTable to a List in ASP.NET MVC.
Today, we will learn about how to create server side DataTable with it’s full functionality like searching, sorting and pagination. DataTable is most commonly used for grid and it’s power retains as it provides the customized functionality also.
In Linq, partition operators are used to dividing the collection/list into two parts. There are various partition operators like Take(), TakeWhile(), Skip(), SkipWhile(). All have its unique use and we can use it in our demand basis.
In Linq, sorting operators are used when we have to change the sequence or order of the data. i.e. Ascending sort or Descending sort. There are many sorting operators like OrderBy(), OrderByDescending(), ThenBy(), ThenByDescending() etc.Each has its unique use.