Code Snippets



You can make money from this site by posting original and quality articles that comply with Google AdSense policies.. Also, we offer several other reward programs including monthly profit sharing, cash rewards per post, contests & prizes etc to contributing members.

Submit Your Article

Articles

Add new Worksheet at the lst in Excel VSTO C#

I am working on building an excel Add-In for a few back-end operations. In a few scenarios, I need to create new worksheets dynamically and populate data and chart reports. I am able to add a new worksheet. But the requirement is, The new worksheet should add the last of all existing worksheets.

How to integrate PayPal in ASP.NET?

In this article , I am going to explain about how to integrate PayPal in ASP.NET. Most of website Seller to get money from the buyer through PayPal. Here I have explained in detail each step with screen shot.

How to read content from PDF in ASP.NET?

In this article I am going to explain about how to read PDF data in ASP.NET. I have read that PDF content using iTextSharp.dll. This technique is will be used in the various scenario for you.

Get List Items from List / Library with Pagination in Moss 2007 using Web Services

In this article I'm going to explain how to get the files under Document Library / List with pagination, assume that in our library or list we have lakhs of records in SharePoint we can't get all the items at single shot. If we did that we got service error, to overcome that and got the records we have to implement the pagination concept.

Get Previous versions metadata in Moss 2007 using web service RPC Method

Recently I'm facing a typical issue while get the metadata of previous versions, since I'm using Moss 2007 we don't have much options to get it. So, I'm research what are all the ways to achieve this, initially I go with Versions web service but we get only few properties so skip this approach and after several researches then I come to know that we have 2 ways to achieve this in Moss 2007.

SilverPop Integration

SilverPop is a third party emailing tool which is not only provide the facility to prepare the email templates which needs to be used in sending an email as well as it provides the support for campaign management through various things.

C# Programs to perform basic arithmetic operations

The basic arithmetic operations are addition, subtraction, multiplication and division. Here are the C# programs which can be used to perform the basic arithmetic operations on two numbers belonging to 'int' datatype.

Code for .CSV to List object

In this Artice I will Explain sample code how to convert CSV file Contents to a List of Objects. This is a generic CSV File reader which converts of the file contents to Generic type of List Objects.

Xml Serialization in Csharp

The code shows how to apply XML serialization attributes and their functionality of the classes or Entities. The code shows how these attributes format the XML generated by serialization and deserialization.

Design Pattern-Factory Pattern

Here i would like to Explain one of Gang of Four Design patterns Factory Pattern which is a solution to common problems that occurred in Software Designing which falls under the Creation Design patterns.

Filter gridview with textbox in Asp.net

In this article I'm going to explain how to filter GridView with TextBox in asp.net. For example GridView load huge data. Here is my requirement is to filter particular records based on name by entering into TextBox, let me show you how to achieve this.

Send Multiple Email in Asp.net

In this articles i'm going to show you how to send multiple emails in asp.net by using c# coding. Email address should be separated by using comma's to achieve for sending multiple email in asp.net. In this article i'm going to show you how to achieve this.

Custom Paging for Gridview using SQL Server

In my previous article I'm explaining how to load data on demand without paging, but in this article I'm going to explain how to load data for particular page dynamically, for example in some scenarios we want to load huge data, usually what we are doing load all the records and display gridview and perform paging using default grid page options, but when we are looking performance and bandwidth the approach is not good, so that only we are moving forward that load fixed page records based on page size and

Load on demand data in Gridview using Jquery

In this article I'm going to explain how to load data on demand using Jquery. In some cases to improve the performance of application we are loading data on demand basis, rather than load all the records at a time, in this article I'm going to explain how to achieve this.

What is a trigger ? what are the types of Triggers ?

Today, I want to discuss in detail what are Triggers ? what are the types of Triggers In which scenario we use the Triggers these are the things i want to discuss in detail with code snippets and with .Net how to work with these triggers ? .

View with Collection in ASP.net MVC

Until now we are discussing how to display single record in view, now I'm going to display collection of records in view with strongly type ViewModel. In this article I'm going to discuss about View with Collection of records.

Submit Your Article