.Net & C#

Asp.net – Using FileUpload control in UpdatePanel

Using of control FileUppload has some specialities – there must be made a PostBack on your event. But using UpdatePanel there’s no PostBack event on client click. For correct work you should use PostBackTrigger. Read more»

.Net & C#

Multiple file upload in Asp.net

To add multiple upload control and set up handler for it is quite easy in Visual Studio 2013.  Read more»

.Net & C#

3 methods of parsing XML in C#

C# and .Net are rich in methods to complete the task. With each new version we have new classes and methods. Reading and parsing XML is not an exclusion. Below I’ll tell you about 3 methods for reading XML-data in C#. Read more»

.Net & C#

Visual Studio shortcut keys

I found a great collection of Visual Studio shortcuts. While coding I often comment some lines of code.  Using shortcuts it’s even more easy. It’s not a common combination – select lines to comment and press Ctrl + K then Ctrl + C, to uncomment  – Ctrl + K then Ctrl + U. Read more»

.Net & C#

C#. How to sort List by field

In this post I’ll describe two ways to sort List<T> generic collection by one of it’s fields. It’s very useful and not easy for beginners. Read more»

.Net & C#

Fix error “Index (zero based) must be greater than or equal to zero and less than the size of the argument list”

Not so long ago when I was very tired I wrote an SQL-query in my C# application in Visual Studio, but I got error on build. The error was ” Index (zero based) must be greater than or equal to zero and less than the size of the argument list.”. Read more»

.Net & C#

C# equivalent for strip_tags() in PHP

There’s a rather pretty way to use something like PHP strip_tags() function in C# just using regular expresion Read more»

.Net & C#

Popular Posts