LINQ – filtering data structures
Using Language-Integrated Query (LINQ) has become very common in recent years as it is an easy way to retrieve data from various data structures eg. arrays. The code itself is also very clean and much...
View ArticleFile helpers using LINQ
When dealing with files, it is useful to have standard set of helpers to be used that we can relay on. This is when LINQ comes in handy. In this article I will present you with some useful functions...
View ArticleFormat DataTextField of the DropDownList
Some times there is a need to format DataTextField value of the DropDownList without changing the data source structure. One of the ways to achieve this is to use LINQ by changing the property value...
View ArticleLINQ basic string and digit operations
Hi, today I want to show you how we can do the basic string and digit operations with the LINQ. If you are not using Linq in your current projects, you may find it very tempting to start with it. Once...
View ArticleCustom code validator using RichTextBox
Knowing how to format text using RichTextBox control lets you build wide range of tools such as code comparers, validators, chat applications etc. In this article I will show you how to build simple...
View ArticleHandling DataGrid row events
When creating user interface the common situation is to handle datagrid row event in response to user action. Example of that is changing dropdown list value and refreshing row information without...
View ArticleCreating entity validation engine using c# expression rules
Validating entity data is the common task when building business applications. Very often happens that we want to separate the rules from the app code to be able to quickly change it without affecting...
View Article