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


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

In this article I'm going to explain how to filter GridView with TextBox in 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

In this articles i'm going to show you how to send multiple emails in by using c# coding. Email address should be separated by using comma's to achieve for sending multiple email in 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 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.

Using ViewBag in MVC

In my Previous article; I explained about ViewData to maintain state over MVC Controller to Views, apart from ViewData we have several options to maintain state in MVC one of that is ViewBag. In this article I'm going to explain ViewBag statemanagement with small example.

Using ViewData in MVC

We all know that we can't use ViewState in MVC because of Bandwidth Consumptionproblem. We have several alternatives to maintain state in MVC, one of that is ViewData. ViewData is a dictionary; it will pass data between Controller and Views. Controller will add data to the dictionary and view reads from it. So, in this article I'm going to explain how to maintain state over the controls using ViewData with simple example.

Submit Your Article