Check Uncheck all checkboxes in ASP.Net Gridview using jquery Select deselect all checkboxes Asp.Net Gridview using jquery Select deselect all checkboxes jquery Multiple checkbox Select/Deselect using jquery In this blog post, we will see a small example to check or uncheck all checkboxes in a html table using jquery. You… Continue Reading Check Uncheck All Checkboxes in Html Table Using JQuery

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

VB.Net Program to print Numbers 1 to N in Right Triangle Format Module Module1     Sub Main()         Dim sum As Integer = 0, i As Integer, k As Integer, n As Integer         Console.WriteLine(“*** www.programmingposts.com ***”)         Console.WriteLine(vbLf & “>>> VB.Net Program to print Numbers 1..n as Right Triangle… Continue Reading VB.Net Program to print Numbers 1 to N in Right Triangle Format

In this post, here is the VB.Net code to count the occurrences of a particular string in a another 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… Continue Reading VB.Net Code to Count occurrences of String in Another String

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 VB.Net 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 VB.NET

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 , registration form in Asp.Net using 3-tier architecture. And now i am doing the same example(no changes in design) with ADO.NET Entity Data Model, and we will see how we can add Model in normal… Continue Reading Registration Form in ASP.NET using Entity Framework Data Model

In this article i will explain step by step installation of MVC 4 for VS2010. Requirements: If you don’t have VS2010 installed in your system, first you should install Visual Studio 2010. After Installing VS2010, follow the steps below : Step 1: Download and Install Visual Studio 2010 Service Pack… Continue Reading MVC 4.0 Installation for Visual Studio 2010

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

Author : 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     {         public From_listbox()… Continue Reading Moving Items between Two List Boxes in windows C#

In this article we will see how to compile a C Program with Visual Studio Command Prompt. Here i am using Visual studio 2010. For opening Visual Studio command prompt, All Programs -> Microsoft visual Studio 2010 -> Visual Studio Tools -> Visual Studio command prompt   After opening command… Continue Reading Compiling a C program with Visual Studio Command Prompt

While working  VB.Net application(added COM DLL’s references) on 64-bit Windows7 system , i came across a runtime exception like Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F60090} failed due to the following error: 80040154. How i handled this error: -> I just removed the References and added once again.… Continue Reading COM Exception, failed due to the following error: 80040154.