How to sort ASP.NET DropDownList based on DataValueField or DataTextField...
Sorting ASP.NET Dropdown list is very common requirement for any of the web application development. To Implement this features sometimes developers used to iterate through each and every item and...
View ArticleGetting Added And Deleted Items In A List Using LINQ
Most the time when we work with a list object, finding a newly added items or deleted items becomes a very trivial part of the logic. Sometimes, we endup writing sophisticated logic or loops to get...
View ArticleMultiple Sort For Collection Using LINQ
There are quite a lot of instance where you need to do a primary sort and you need a secondary sort on the same collection and sometimes even multiple sort. With LINQ we can achieve it pretty straight...
View ArticleLINQ and Nullable Values or SQL ISNULL with LINQ
In this tips I am going to show how you can deal with the Nullable values in LINQ queries and how you can achieve functionality like SQL ISNULL function. Let’s put it as a problem statement I am...
View ArticleHow to Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic...
This tips explained how to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic.This is very much...
View ArticleFind duplicate with Linq
This small tips discussed about how to get list of duplicate items for the collection that we do in sql. For example I have to get list of the email id which is get entered in user table more than one...
View ArticleHow to use SelectMany with LINQ JOINS
SelectMany is Projects each element of a sequence to an IEnumerable and flattens the resulting sequences into one sequence.In this post I am going to show how you can use SelectMany Extension method...
View ArticleFilter Records by RowNumbers in LINQ To SQL
In this tips we are going show how you can filter your data by RowNumbers that you assigned to your record(s). So to filter data in SQL (SQL server-2005) we use RowNumber function and than we use = or...
View ArticleDifference between two Entity Set using LINQ
In this tips I have discussed about how to get the difference between two table/ entity sets. As for example we want to get rows form table_A which are not exists in table_B. (When table_A primarykey...
View ArticleDefault Extension methods
In this post I am going to discuss about Default extension method(s) which are use full when we query the data form the collection,array or performing operation while code using linq to sql. In .net...
View ArticleDynamic query with Linq
In this post I am going to discuss about building dynamic query with the LINQ. LINQ to SQL allow user to query data from the database without writing sql queries by writing LINQ queries. LINQ represent...
View ArticleInto and let in LINQ ( Let vs Into)
In this post I am going to show two keyword of the C# 3.0 is very helpful when playing with the set of object collection using LINQ feature. Into Into keyword allows creating a temporary variable to...
View ArticleIQueryable Vs. IEnumerable in terms of LINQ to SQL queries
Few days ago I was working on my project which is having Linq to Sql as database layer. I got requirement to get the first of all employee who’s designation starts with “soft”. I get fired below query...
View ArticleOrdering data in LINQ Queries by more than one column
In this post I am going to show how to do ordering when you require to order data by using the multiple columns. By using .Orderby(x=>x.Columnname) in the LINQ query we can easily order data of the...
View ArticleSort Generic List Using Lambda Expression For Dynamic Type And Dynamic Property
Once stuck on a requirement where I needed to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic....
View ArticleHow to sort ASP.NET DropDownList based on DataValueField or DataTextField...
Sorting ASP.NET Dropdown list is very common requirement for any of the web application development. To Implement this features sometimes… The post How to sort ASP.NET DropDownList based on...
View ArticleGetting Added And Deleted Items In A List Using LINQ
Most the time when we work with a list object, finding a newly added items or deleted items becomes a… The post Getting Added And Deleted Items In A List Using LINQ appeared first on Daily .NET Tips.
View ArticleMultiple Sort For Collection Using LINQ
There are quite a lot of instance where you need to do a primary sort and you need a secondary… The post Multiple Sort For Collection Using LINQ appeared first on Daily .NET Tips.
View ArticleLINQ and Nullable Values or SQL ISNULL with LINQ
In this tips I am going to show how you can deal with the Nullable values in LINQ queries and… The post LINQ and Nullable Values or SQL ISNULL with LINQ appeared first on Daily .NET Tips.
View ArticleHow to Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic...
This tips explained how to write a code which is flexible and generic enough to sort any type of collection… The post How to Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic...
View Article
More Pages to Explore .....