Image Gallery in your windows application in C#

 
This article demonstrate how we can create a simple image gallery in C#, this article is the c# version of the original article in vb.net(). In this article we create a usercontrol for doing it, our control will be create thumbnails of the images of the specified directory.
means you just need to give the your directory path. Continue reading “Image Gallery in your windows application in C#”

How to remove duplicate items from listbox in .net

 
Many times when we bind our controls from a non primary column of table then it may be a case that we got the duplicate records in our dataset. There is no sense to bind duplicate records without any identity value in any control.

With the help of the following function you can easily remove duplicate items from your Listbox control.
Continue reading “How to remove duplicate items from listbox in .net”

How to split single string into array of the strings through Regular expression in .net

The Following example shows how to split single string into array of the strings with the help of Regular expression in .net. We can split an input string into an array of substrings at the positions defined by a regular expression match.

Continue reading “How to split single string into array of the strings through Regular expression in .net”