Linq is almost providing all the functionalities and i have found one another great operator called range operator which will return a sequence of integer number from start point to number of count. Here is the signature of range operator in Linq.
public static IEnumerable<int> Range(int...
Wednesday, June 23, 2010
Tuesday, June 22, 2010
Persisting row selection in data bound control like GridView,ListView
Some times we need show large amount of data like hundred of rows but its very difficult to show that in a single web page so we are using the paging mechanism of inbuilt data bound control of .NET Framework like GridView and ListView. But in paging of data bound control its very hard to remember the...
Saturday, June 19, 2010
Zip operator in Linq with .NET 4.0
Microsoft .NET framework 4.0 is having many features that make developers life very easy. Its also provides some enhancement to Linq also. I just found a great operator called Zip which merge the sequence of two entities. Here is the explanation of Zip Operator from MSDN. “The method merges each element...
Sum and Concat Operator operators in Linq.
Linq contains lots useful operators and i have found more two operators that can be help full in our day to day programming life. Here are explanation. Concat Operator: Concat operator concats two entities into single entities its very use full when we are doing some string operator where need to...
Friday, June 18, 2010
Take,Skip and Reverse Operator in Linq
I have found three more new operators in Linq which is use full in day to day programming stuff. Take,Skip and Reverse. Here are explanation of operators how it works. Take Operator: Take operator will return first N number of element from entities. Skip Operator: Skip operator will skip N number...
Union,Except and Intersect operator in Linq
While developing a windows service using Linq-To-SQL i was in need of something that will intersect the two list and return a list with the result. After searching on net i have found three great use full operators in Linq Union,Except and Intersect. Here are explanation of each operator.
Union Operator:...
Saturday, June 12, 2010
ASP.NET4.0-Compatibility Settings for rendering controls
With asp.net 4.0 Microsoft has taken a great step for rendering controls. Now it will have more cleaner html there are lots of enhancement for rendering html controls in asp.net 4.0 now all controls like Menu, List View and other controls renders more cleaner html. But recently i have faced strange...
Friday, June 11, 2010
ASP.NET 4.0- CompressionEnabled Property in session state 4.0
Hello Guys,This blog has been quite for few days. Because i was busy with some personal and professional work both and that’s why i am not able to work on writing blog posts which i have discovered in last few days. Here is one features of asp.net 4.0 that I am going to explain.As a web developer we...