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: Edward Jones |  On:  16 Dec 2014 03:58:51 |  General
You can find numerous WordPress contact forms plugins available online such as Contact 7 and others – that makes form creation become a breeze. These plugins are ideal for beginners for building their website contact form.Read more..
By: celinsmith111 |  On:  16 Dec 2014 03:15:38 |  JavaScript
RequireJS is an excellent way that helps to organize as well as optimize today's JavaScript language. Reading this article will help you have a basic knowledge of this framework.Read more..
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: 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:  17 Dec 2014 07:32:58 |  CSharp
This technical tip shows how .NET developers can access, add, update or Delete Gmail contacts inside .NET application. Aspose.Email supports working with Gmail contacts. Using the IGmailClient interface, users can retrieve contacts from a Gmail account, create new contacts, and update as well as delete existing contacts. Gmail allows developers to perform all these using its public developer's API. The following user information is required for working with Gmail contacts: User name, email addreRead more..
By: sherazam |  On:  10 Dec 2014 09:18:04 |  JAVA
This technical tip shows how Java Developers can read and recognize barcodes from Microsoft Word documents inside their Java apps using Aspose.BarCode for Java. For the purpose of this article, the task has been broken down into two separate tasks. First we will show how to generate a Microsoft Word document, complete with barcode and then read the barcode in the Word document. After that, use Aspose.BarCode for Java to generate a barcode image. Save the image to file and use Aspose.Words for JaRead more..
By: sherazam |  On:  03 Dec 2014 09:06:34 |  VB.NET
In This technical tip, we will learn how .NET developers can add Layout slides in presentation using Aspose.Slides inside their .NET applications. There are cases when there is missing Layout slide in presentation and once can now add the Layout Slides in presentation. Each slide has unique Id and Layout slides are maintained inside presentation Masters. One can access the Layout slide either by Type or by Name. Aspose.Slides for .NET allows developers to add new Layout slides in presentation.Read more..
By: sherazam |  On:  26 Nov 2014 03:47:59 |  JAVA
This technical tip shows how Android developers can create a PDF document from an image using Aspose.Words inside their Android application. While converting images to PDF is not a main feature of Aspose.Words, this example shows how easy it is. To make this code work, add references to Aspose.Words, javax.imageio and java.awt.image to the project. The code below converts single frame images, such as JPEG, PNG or BMP, as well as multi-frame GIF images, to PDF.Read more..
By: sherazam |  On:  19 Nov 2014 09:28:41 |  CSharp
This technical tip shows how .NET developers can integrate table with database (DOM) and populate data from a database using Aspose.Pdf for .NET. Databases are specially built to store and manage data in a better manner. It's a very common practice for programmers to populate different kinds of objects with data from databases. If you want to populate Table object with data from any data source using Aspose.Pdf for .NET then it is possible too. And it's not only possible but it’s very easy too. Read more..
By: sherazam |  On:  12 Nov 2014 08:40:24 |  IPhone Development
This technical tip explains how Android developers can apply protection to presentation inside Android applications using Aspose.Slides for Android. A common use for Aspose.Slides for Android is to create, update and save Microsoft PowerPoint 2007 (PPTX) presentations as part of an automated workflow. Users of the application that uses Aspose.Slides this way get access to the output presentations. Protecting them from editing is a common concern. It is important that auto-generated presentationsRead more..
By: sherazam |  On:  07 Nov 2014 08:59:03 |  VB.NET
This technical tip shows how .NET developers can update the existing link to go to a page in the loaded PDF file using Aspose.Pdf for .NET. The LinkAnnotation class makes it possible to add links inside a PDF file. There's also a similar class used to get existing links from inside PDF files. In case you need to update the existing link to go to a page in the loaded PDF file, specify the link destination the GoToAction object's Destination property. The destination page is specified using the XYRead more..
By: sherazam |  On:  29 Oct 2014 03:54:33 |  JAVA
This technical tip shows how to read Excel worksheet cells values in multiple threads simultaneously inside android applications. Often you need to read worksheet cells values in multiple threads simultaneously. To do so, set Worksheet.getCells().setMultiThreadReading() to true. If you do not set this property you might get the wrong cell values. Setting it to true, you always get the correct values. To achieve this task first create a workbook and adds a worksheet. Populates the worksheet withRead more..
By: sherazam |  On:  22 Oct 2014 04:35:18 |  CSharp
This technical tip explains how to .NET developers can read Microsoft Outlook message file and display its contents on the screen using Aspose.Email. This migration tips gives details how Aspose products can be used to improve your applications and free you from dependency on traditional automation. This migration tip shows how to read a Microsoft Outlook message file and display its contents on the screen using both Microsoft Office Automation and Aspose.Email code. The sample code below only Read more..
By: sherazam |  On:  15 Oct 2014 04:28:24 |  JAVA
This technical tip explains how Android developers can insert a document into another document inside Android Applications. There is often a need to insert one document into another. For example, insert a document at a bookmark, merge field or at a custom text marker. At the moment, there is no single method in Aspose.Words that can do this in one line of code. However, a document in Aspose.Words is represented by a tree of nodes. The object model is rich and the task of combining documents is Read more..
By: sherazam |  On:  01 Oct 2014 04:09:46 |  VB.NET
This Technical tip explains how .NET developers can create, save and load raster Image as TIFF using Deflate/Adobe Deflate Compression methods inside their .NET applications using Aspose.Imaging for .NET. The TIFF (Tagged Image File Format) file format supports various types of compression whereas the compression type is stored as a tag (an integer value) in the file. One of such compression methods is Adobe Deflate (previously known as Deflate). Since the release of Aspose.Imaging for .NET 2.Read more..
By: sherazam |  On:  24 Sep 2014 10:27:26 |  IPhone Development
This technical tip show how developers can add hyperlinks to link data inside their Android applications using Aspose.Cell for Android. A hyperlink links two entities. Everybody is familiar with hyperlinks because they are used extensively on the Internet. Using Aspose.Cells, developers can create different kinds of hyperlinks in Excel files. This article discusses what types of hyperlinks are supported in Aspose.Cells and how to use them. There are three kinds of hyperlinks which can be added Read more..
By: sherazam |  On:  10 Sep 2014 05:14:17 |  JAVA
This technical tip shows how to java developers can load and modify an existing email message inside their java application using Aspose.Email Java API. Aspose.Email API allows developer to load any existing email message and modify its contents before saving back to the disk. One notable point is to specify the MessageFormat while loading the email message from the disk. In addition, it is important to specify the correct MailMessageSaveType while saving the message back to disk.Read more..
By: sherazam |  On:  03 Sep 2014 06:28:24 |  CSharp
This technical tip explains how developers can store, read & delete a Word document in Database inside their .NET Applications. One of the tasks you may need to perform when working with documents is storing and retrieving Document objects to and from a database. For example, this would be necessary if you were implementing any type of content management system. The storage of all previous versions of documents would be required to be stored in a database system. The ability to store documents 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..
 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
What is the best and secured browser?

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. sherazam-350(Senior Member )
  14. usamawahabkhan-330(Senior Member )
  15. j2inet-290(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