In this Programming Post, we will see an example program to get string of comma separated values from DataTable Column in C#.Net. Generally while working with DataTable, we may need to generate a comma (or any delimiter) separated string and even we may need to generate comma separated values with single… Continue Reading Get Comma (delimiter) Separated String from DataTable Column Values in C#.Net

In this post we will see, generating a Financial Year string based on the given date. I have given code in C#.Net and VB.Net. C#.Net Method to Get Financial Year of a given Date :     /// <summary>     /// Method to Get Financial Year of a given Date    … Continue Reading Get Financial Year of a given Date in C#.Net / VB.Net

> C# program to find the occurrence of a digit in a number > C# program to find frequency of digit in a given number In the previous posts, i have given C#.Net code to count the occurrences of a character in a string This program is to count the… Continue Reading C# Program to count particular digit in a given number

In this post, here is the C# code to convert DataTable to Dictionary. while working with DataSet or DataTable we may need key value pair to get Value by Id approach. So you may need to convert your DataTable to key value type i.e, Dictionary. you can also use Dictionary… Continue Reading DataTable to Dictionary Conversion in C#.Net

In this post, here is the C# code to count the occurrences of a particular string in a given string. Suppose there is a case  where we may want to check whether the string contains particular substring or not. And we may want to count the occurrences of the substring,… Continue Reading C#.Net Code to Count occurrences of String in Another String

In this post, here is the C#.Net code to get the reverse of a number. Getting Reverse of a string is quite easy using string functions but for a number it differs.Here we will see how to get reverse of a number without using any built-in methods. You can also… Continue Reading C#.Net Code to get reverse of a Number

In this post, here is the c# code to count the occurrences of a particular character in a given string. Suppose there is a case  where we may want to check whether the string contains particular character or not. And we may want to count the occurrences of the character,… Continue Reading Count the occurrences of a character in a string in C#.Net

In previous posts , i have given a example for simple registration form in asp.net . And now i am extending the same example to 3-tier. As almost everyone knows what is 3-tier architecture, so here i am not going to write much about 3-tier architecture. If you are not aware… Continue Reading Registration form in Asp.Net / C#.Net winforms using 3-tier architecture

In this article we will see a example for extracting / reading / accessing the emails from MS Outlook using C#.Net. We will see a sample application, which read mail from outlook and display its contents in our application. The screenshot of sample application is shown below Before starting the coding,… Continue Reading Reading emails from MS Outlook using C#.Net

This Article is by Rajesh Description: In this article we will see a simple example to interchange the items between two list boxes. The screenshot of the application is shown in the image below. The C# code in the code behind file is like this using System; using System.Windows.Forms; namespace ListBox {     public partial class From_listbox : Form… Continue Reading Moving Items between Two List Boxes in windows C#