Join the largest worldwide Community for Developers

The CodeGain is aimed help to our readers through articles,snippets,tips, forums,jobs and more about different technologies in the area of ASP.NET, C#, SharePoint, Silverlight, VB.NET, WPF,WCF,LINQ,Sql Server,JQuery and more. Technology forums are there to help people by proving them an opportunity to be interactive on it. Questions will be answered by other contributors to create a new .NET community.Registration is fast and FREE
 Latest News
What are new Features in Visual Studio 2012
The Microsoft working on new version of the Visual Studio. The next release will be Visual studio 2012.In VS 2010 there are new features in code editor window, IntelliSense, Language Style, on time code modification, and many more. More details here.
By: jalpesh |  On:  30 Mar 2014 21:33:03 |  Visual Studios
This Article is a step by step installation guide for Visual Studio 2013.Read more..
By: pranay rana |  On:  28 Mar 2014 04:59:40 |  CSharp
In this Article I am going to discuss about "Dependency injection". In this article I am going to discuss about what is dependency injection and why there is need of this software design pattern.Read more..
By: jalpesh |  On:  28 Mar 2014 00:01:27 |  .NET Frameworks
In this article, We are going to learn about Deferred vs Immediate execution in Linq. There an interesting variations how Linq operators executes and in this post we are going to learn both Deferred execution and immediate execution.Read more..
By: jalpesh |  On:  27 Mar 2014 23:06:32 |  ASP.NET
In this article we are going to learn how we can easily create PDF from ASP.Net application with the help of Razor PDF NuGet package.Read more..
By: pranay rana |  On:  27 Aug 2013 04:30:33 |  Visual Studios
Following article is about feature provided by MS Visual Studio to generate sequence diagram from already written code.Read more..
By: jalpesh |  On:  06 Jun 2013 02:54:04 |  .NET Frameworks
In this article, about how we can call asp.net page methods from jQuery.Read more..
By: pranay rana |  On:  06 Jun 2013 02:25:39 |  .NET Frameworks
Now new version of HTML5 having number of new API one of the is Storage API, which allow you to store data of use locally. Here in following article I am going to describe Storage API.Read more..
By: jalpesh |  On:  07 Mar 2013 21:50:36 |  .NET Frameworks
In this blog article we are going to learn about a new feature of Visual Studio 2012 called “Page Inspector”.Read more..
By: jalpesh |  On:  07 Mar 2013 21:23:45 |  .NET Frameworks
New version of ASP.NET provides lots of way of binding data to the data controls like Grid View, Repeater etc. You can now bind this controls with strong type.Read more..
By: pranay rana |  On:  30 Jan 2013 20:51:38 |  .NET Frameworks
This is small post regarding How to get the index of each element in collection.Read more..
By: pranay rana |  On:  29 Jan 2013 22:13:53 |  .NET Frameworks
HTML5 have cool feature that is provide gelocation of the user on the fly without using any extra services that we do right now. This feature is supported by Gelocation API which is part of HTML5.Read more..
By: pranay rana |  On:  29 Jan 2013 20:45:27 |  LINQ
In this article I am going to discuss about how to get distinct object using property of it from collection. Here I am going to show three different way to achieve it easily. Moreover, You will learn about extension method that can do task more than the current Distinct method available in .Net framework too.Read more..
By: pranay rana |  On:  29 Jan 2013 20:23:30 |  .NET Frameworks
In this article is about CSS selector and how it woks. Following is explanation of most of the selector that is used in CSS.Read more..
By: jalpesh |  On:  10 Jan 2013 20:10:13 |  Visual Studios
In this article we are going to talk about search and filters provided into the visual studio 2012. There are lots of emphasis there in search and filters in visual studio 2012.You can almost search every thing including errors also. There are different search options are available for thatRead more..
By: pranay rana |  On:  02 Jan 2013 20:58:03 |  .NET Frameworks
Tuple is new class type added in C#4.0. Tuple type allows to create data structure which is consist of specific type and specific number of elements. In the following post its about basic of Tuple type, how and where to use this new type in your code.Read more..
By: sherazam |  On:  19 Mar 2014 05:18:42 |  CSharp
This technical tip explains how developers can connect and list messages from Inbox folder of Microsoft Exchange Server using IMAP protocol. Microsoft Exchange Server supports the IMAP protocol for accessing items in a mailbox. Use Aspose.Email's ImapClient class to connect to the Exchange Server using IMAP protocol. This article shows how. To connect to an Exchange Server using IMAP, please first, make sure that IMAP services are enabled for your Exchange Server, Open the Control Panel, Go to ARead more..
By: sherazam |  On:  25 Jun 2013 02:44:11 |  CSharp
This technical tip explains how to convert an email message to PDF using Aspose.Email. Aspose.Email for .NET deals with network protocols and Microsoft Outlook features, and cannot handle direct conversion to PDF. To overcome this, the samples in this article use Aspose.Email to convert the email message to MHTML stream and then use Aspose.Words for .NET to load the MHTML stream and then save it as PDF.Read more..
By: sherazam |  On:  29 May 2013 14:31:38 |  VB.NET
This technical tip explains how to load a Microsoft Outlook Messagefile (*.msg). The MapiMessage class is used to load MSG files, and provides several static loading functions for different scenarios. The code samples below show how to load MSG files from file or from stream. Some important steps for performing this task are Create an instance of MapiMessage from file, Get subject, Get from address, Get message body and Get attachments.Read more..
By: RRaveen |  On:  07 Feb 2013 01:04:48 |  Sql Servers
Today, I am working an enterprise systems, suddenly, we have got a situation that we need to reset most of the tables have AUTO INCREMENT columns. Hence, I write a simple script it do.Read more..
By: RRaveen |  On:  28 Jan 2013 22:27:28 |  CSharp
There are many students ask question in the other forums that how to validate Singaporean NRIC or FIN using C#. Hence, I have spent a little bit time to create a method for it.Read more..
By: Kirti.M.Darji |  On:  17 Jun 2012 11:50:04 |  CSharp
Using this script you are get list of window service installed on your machineRead more..
By: Mostafa Elzoghbi |  On:  25 Oct 2011 08:21:08 |  SharePoint
Recently, one of colleagues asked me that how to open and close the Model Dialog in the SharePoint as like JQuery model popup, I have come up a solution using pure Javascript that I'm going to share with you.Read more..
By: RRaveen |  On:  27 Jul 2011 21:47:14 |  Sql Servers
In this codesnippet, i will show, how to find the procedures in sql server using three different ways. such as by name, by content and by parameter names.Read more..
By: RRaveen |  On:  20 Jul 2011 20:15:30 |  ASP.NET
In this codesnippet, i will show How to Delete Row in GridView using JQuery in ASP.NET.Read more..
By: Mostafa Elzoghbi |  On:  13 Jun 2011 04:22:57 |  ASP.NET
I have seen most of forums, professionals asking how to export ASP.NET to PDF.Because PDF format likes all users almost.Read more..
By: jalpesh |  On:  13 Jun 2011 04:06:07 |  ASP.NET
In this article, I going to explain, how to find weekend dates within given date range in C#.It is useful and easy method.Read more..
By: RRaveen |  On:  25 Apr 2011 05:22:15 |  Windows Mobile
In this code snippet, i will show how to create Editable Cell in DataGrid in Windows Mobile.Read more..
By: pranay rana |  On:  05 Mar 2011 05:56:59 |  LINQ
In this snippet I am going to discuss about how to get list of duplicate items for the collection that we do in sql.Read more..
By: Nimish Garg |  On:  06 Apr 2011 06:28:10 |  Oracle
In this snippet, i will show how to delete duplicate rows from oracle.Read more..
By: Nimish Garg |  On:  06 Apr 2011 06:29:27 |  Oracle
In this snippet, i will show you how to use the TRUNCATE function with DATE in Oracle.Read more..
By: sherazam |  On:  23 Jul 2014 05:09:30 |  CSharp
This Technical tip explains how .NET developers can generate multiple barcodes on a single image inside their applications using Aspose.BarCode for .NET. Aspose.BarCode for .NET can efficiently create multiple optimized barcodes on a single image. It also supports generating multiple type of barcodes such as postal, QR, PDF417, EAN, Code 39, Code128, ISBN, MSI, GS1 etc. Aspose.BarCode is a .NET component for generation and recognition of Linear and 2D barcodes on all kinds of .NET applicationsRead more..
By: sherazam |  On:  16 Jul 2014 03:50:49 |  CSharp
This technical tip shows how to extract text from part of an image inside .NET Applications. Aspose.OCR for .NET provides OcrEngine class to extract text from a specific part of the image document. The OcrEngine class requires Source image, Language and Resource file for character recognition. The source image is the document on which OCR will be performed. The image can be a BMP, TIFF, JPEG, GIF or PNG file. The OcrEngine.Image property is used to set the source image. One or more languages musRead more..
By: sherazam |  On:  09 Jul 2014 08:06:05 |  JAVA
This technical tip explains how to identify and extract embedded attachment from MSG formatted as RTF. Email messages with an RTF formatted body may contain inline attachments that are either embedded as a whole object or as an icon. In order to differentiate between these two types of attachments, certain properties of the attachment need to be investigated. After meeting certain criteria based on the attachment properties, the attachment can be saved by extracting it from its ObjectData.Read more..
By: sherazam |  On:  03 Jul 2014 03:13:56 |  Office Development
This tutorial explains the steps for creating a complete working web application that can convert Microsoft Word, Excel, PowerPoint and PDF documents to a bunch of supported file formats in a Ruby web application. Aspose for Cloud is a document creation, conversion and automation platform. Its cloud-based nature and REST APIs make it even powerful to plug into any application within minutes. The SDKs make the integration process much easier. We will be using the Ruby and Bundle, Sinatra, Aspose Read more..
By: sherazam |  On:  01 Jul 2014 04:11:12 |  Others
This tutorial demonstrates how to use Aspose for Cloud to convert specified pages of a PDF document to JPG images using PHP. Aspose for Cloud is a cloud-based document generation, conversion and automation platform for developers that offer a unique suite of APIs to work with Word documents, Excel spreadsheets, PowerPoint presentations, PDFs, and email formats and protocols. To run the application please edits index.php to fill the correct values of appSID and appKey. Signup at http://cloud.aspRead more..
By: sherazam |  On:  25 Jun 2014 10:50:25 |  JAVA
This tutorial shows how developers can recognize text in photos on Android device using Aspose.Ocr for Cloud. Here are the important steps, Capture an image using device camera, save the image in a temporary file on external storage, used Aspose.Ocr for Cloud to recognize text in that image, used AsyncTask for REST API, display the results on the screen. User can copy the text and paste it in any other application.Read more..
By: sherazam |  On:  18 Jun 2014 10:26:51 |  IPhone Development
This technical tip explains how developers can find and modify all hyperlinks in a Microsoft Word document inside Android Applications. To find and modify hyperlinks it would be nice to have some sort of Hyperlink object with properties, but in the current version, there is no built-in functionality in Aspose.Words to deal with hyperlink fields. Hyperlinks in Microsoft Word documents are fields. A field consists of the field code and field result. In the current version of Aspose.Words, there iRead more..
By: sherazam |  On:  11 Jun 2014 13:05:00 |  JAVA
This technical tip shows how to read an image and mark the barcode regions for all recognized barcodes in the image. The barcode region is the part of the image that only contains the barcode itself. In a large image, there may be other texts or images as well as the barcode. Getting the barcode region separates the barcodes from other elements in the image by marking their edges or by filling them with a color.Read more..
By: sherazam |  On:  04 Jun 2014 02:17:57 |  CSharp
This technical tip explains how to create & send an email message with voting options inside .NET Applications. Microsoft Outlook allows users to create a poll when composed a new message. This is done by including voting options such as Yes, No, Maybe, etc. The FollowUpOptions class offered by Aspose.Email, provides the VotingButtons property that can be used to set or get the value of the voting options. This article provides a detailed example of creating a MapiMessage with voting options forRead more..
By: sherazam |  On:  21 May 2014 05:16:59 |  JAVA
This technical tip shows how developers can read embedded email attachments from an existing email message inside Android Applications. Sometimes, we get emails that have other emails embedded in them as an attachment. These embedded emails are complete messages with their own recipient list, subject, body and attachments. Furthermore, each of these messages can contain embedded messages in turn.Read more..
By: sherazam |  On:  14 May 2014 05:44:56 |  CSharp
This technical tip explains how .NET developers can create RE (Reply/Reply All) and FW (Forward) messages from a source message inside their .NET applications using Aspose.Email for .NET. IEWSClient lets developers create RE (Reply/Reply All) and FW (Forward) messages from a source message. The source message is identified by selecting a particular ExchangeMessageInfo from ExchangeMessageInfoCollection obtained by IEWSClient.ListMessages(). The other argument is the actual MailMessage to be sentRead more..
By: sherazam |  On:  07 May 2014 00:16:30 |  JAVA
This Tutorial shows how Java developers can create and save an appointment in draft mode inside their own applications using Aspose.Email for Java. It can be useful to create an appointment request in draft mode, so that the basic information is added and then the same draft appointment can be forwarded to other users who might make changes. Aspose.Email for Java provides the flexibility to create and save an appointment in draft mode for later use. In order to save an appointment in draft mode,Read more..
By: sherazam |  On:  30 Apr 2014 13:34:05 |  JAVA
This technical tip shows how developers can protect MS Excel workbooks using Aspose.Cells for Cloud API inside their own cloud applications. When a worksheet is protected, user's actions are restricted. For example, you cannot input data. Moreover, you can't insert or delete rows or columns etc. There are mostly 3 protection options in MS Excel, such as protecting Contents, Objects or Scenarios. Protected worksheet doesn't hide or protect sensitive data, so it's different from file encryption. Read more..
By: sherazam |  On:  23 Apr 2014 11:14:31 |  CSharp
This Tutorial shows how .NET developers can create normal and scatter charts inside their .NET Applications. Aspose.Slides for .NET lets developers add custom charts into slides from scratch. This topic, explains how to create normal and scatter charts with multiple series from scratch using Aspose.Slides for .NET. Aspose.Slides for .NET works independently of Aspose.Cells for .NET for chart creation. Aspose.Slides for .NET has provided the simplest API for creating charts in an easy way. For C#Read more..
By: sherazam |  On:  20 Apr 2014 12:19:15 |  VB.NET
This technical tip explains how to send email messages using Exchange Server & Exchange Web Services inside .NET Applications using Aspose.Email for .NET. You can send email messages using Exchange Server with the help of the tools in the Aspose.Email.Exchange. The ExchangeClient.Send() method accepts a MailMessage instance as a parameter and sends the email. To achieve this task first create an instance of the ExchangeClient class and specify server name, username, password and domain. After tRead more..
 Featured Article
A Test Driven Development Tutorial in C# 4.0

Introduction - Defining the Battlefield

This tutorial is an short introduction to using Test Driven Development (TDD) in Visual Studio 2010 (VS2010) with C#. Like most of my examples it's based on a game.

 Editor's Choice
Learning Experince MOSS 2007 step by step Part1

Introduction

I would like to share my experience in developing a complete website using SharePoint 2007. The website is English/Arabic website features CMS, News and hosts .Net Application.

 The Weeklly Poll
Do you like .NET Framework 4.0?

Add new poll
Most Popular Articles Most Popular Articles
Popular snippets Most Popular snippets
 Most Popular Tips Most Popular tips
 Top Contributors(all time)
  1. RRaveen-2309(Gold Member )
  2. Dhananjay Kumar-2055(Gold Member )
  3. jalpesh-1157(Gold Member )
  4. dpatra-860(Expert Member )
  5. Kirti.M.Darji-741(Expert Member )
  6. Geming Leader-665(Expert Member )
  7. questpond-650(Expert Member )
  8. pranay rana-575(Expert Member )
  9. youngmurukan-430(Senior Member )
  10. amalhashim-429(Senior Member )
  11. abhi2434-425(Senior Member )
  12. NikhilJohari-378(Senior Member )
  13. usamawahabkhan-330(Senior Member )
  14. j2inet-290(Senior Member )
  15. André Lage-275(Senior Member )
  16. kirtan007-270(Senior Member )
  17. dotnetfish-260(Senior Member )
  18. sherazam-255(Senior Member )
  19. skumaar_mca-255(Senior Member )
  20. ninethsense-180(Junior Member )
Points System|More Members
^ Scroll to Top