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:  19 Aug 2014 22:29:35 |  ASP.NET
ASP.NET MVC contains great features and Bundling is one of them. The Bundling and Minification features allow you to reduce number of HTTP requests that a web page needs to make by combining individual scripts and style sheet files. It can also reduce a overall size of bundle by minifying the content of application. From ASP.NET MVC 4 bundling also includes CDN support also where you can utilize public CDN available for common libraries. Let’s look this features in details.Read more..
By: pranay rana |  On:  11 Aug 2014 22:56:25 |  General
In this Article I am going to discuss about "Dependency injection" on which I am working and exploring. 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: pranay rana |  On:  11 Aug 2014 21:58:21 |  General
This Article is about locating exact location of the Exception in the code. There is always problem for the developer to locate exact location from where Exception raised, because of that it difficult for the developer what actually went wrong. Most of the time problem occurs when there is too many libraries referenced i.e. used in project.Read more..
By: pranay rana |  On:  10 Aug 2014 23:26:17 |  General
This article is about two feature in C# Caller Information Attribute and StackTrac class , which are helpful to get information at runtime from where the call came i.e. both provide information about caller. As purpose of both is same but there is significant difference between both of them. Information provided by both can be used by developer application to provide trace information.Read more..
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: 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:  27 Aug 2014 07:53:53 |  JAVA
This technical tip shows how to convert email messages to another format using Aspose.Email for Android API. Aspose.Email API has made very easy to convert any message type to another format. To demonstrate the simplicity of this feature, this article shows how to load three different types of messages from disk and save them back in other formats.Read more..
By: sherazam |  On:  20 Aug 2014 12:43:00 |  CSharp
This technical tip explains how developers can work with content controls inside a MS Word documents using .NET. In Microsoft Word, you can create a form by starting with a template and adding content controls, including check boxes, text boxes, date pickers, and drop-down lists. In Aspose.Words, a Structured Document Tag or content control from any document loaded into Aspose.Words is imported as a StructuredDocumentTag node. Structured document tags (SDT or content control) allow to embed cusRead more..
By: sherazam |  On:  13 Aug 2014 11:08:00 |  JAVA
This technical tip shows how Java developers can add new shapes to a Visio diagram inside their own applications using Aspose.Diagram for Java. Aspose.Diagram for Java allows you to manipulate Microsoft Visio diagrams in different ways. One of the things you can do is add new shapes to a diagram. Aspose.Diagram for Java lets you to add a new shape to a diagram. The added shape can also be customized using Aspose.Diagram for Java. This article describes how to add a new rectangle shape to a diagRead more..
By: sherazam |  On:  13 Aug 2014 11:07:04 |  JAVA
This technical tip shows how Java developers can add new shapes to a Visio diagram inside their own applications using Aspose.Diagram for Java. Aspose.Diagram for Java allows you to manipulate Microsoft Visio diagrams in different ways. One of the things you can do is add new shapes to a diagram. Aspose.Diagram for Java lets you to add a new shape to a diagram. The added shape can also be customized using Aspose.Diagram for Java. This article describes how to add a new rectangle shape to a diagRead more..
By: sherazam |  On:  06 Aug 2014 11:12:43 |  IPhone Development
This technical tip shows how developers can add text in header or footer of a PDF file inside their Android applications. The TextStamp class is used to add text in PDF document. We can also use the same class to add text in Header/Footer area of PDF file. The TextStamp class provides necessary methods to specify font size, font style, and font color etc for stamp object. In order to add text in the Header area, first you need to create a Document object and a TextStamp object using required metRead 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..
 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
Good site for asp.net

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-1177(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-605(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. sherazam-280(Senior Member )
  16. André Lage-275(Senior Member )
  17. kirtan007-270(Senior Member )
  18. dotnetfish-260(Senior Member )
  19. skumaar_mca-255(Senior Member )
  20. ninethsense-180(Junior Member )
Points System|More Members
^ Scroll to Top