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 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..
By: sherazam |  On:  16 Apr 2014 00:41:32 |  JAVA
This technical tip enables Java developers to create, add & retrieve attachments from calendar items in Java Apps using Aspose.Email for Java. Aspose.Email lets developers manage attachments with email messages using the MailMessage and MapiMessage class. Microsoft Outlook allows you to add as well as retrieve attachments from calendar items, that is ICS. This article shows how the same can be achieved using Aspose.Email for Java for ICS files. Aspose.Email provides an attachments collection thaRead more..
By: sherazam |  On:  02 Apr 2014 10:50:11 |  CSharp
This tutorial explains how .NET developers can export DXF Drawings to PDF using Aspose.Imaging for .NET. Aspose.Imaging includes a feature for reading AutoCAD DXF drawing entities and rendering them as an entire drawing into PDF format. It is possible to customize the conversion process to achieve specific results. We have introduced a new Cad class in the Aspose.Imaging.FileFormats namespace. The Cad class is a family of AutoCAD drawings and since they all share similar schemes, it was decided Read more..
By: sherazam |  On:  26 Mar 2014 13:47:40 |  JAVA
This technical tip shows how developers can convert Memory Stream image to PDF file inside their Android application. The Image class in Aspose.Pdf makes it possible to convert an image from various sources into PDF format. This may include an image from particular location over the hard-drive, an image from MemoryStream or an image at a web location. The ImageInfo class has a method named setMemoryData() which is used to specify MemoryStream as the image source.Read more..
By: sherazam |  On:  12 Mar 2014 11:18:01 |  JAVA
This technical tip shows how developers can create a simple FloatingBox object and then add a TextFragment to its paragraphs collection inside their Android application. As a sub-class of Paragraph, a FloatingBox is a box that contains one or more paragraphs. It can be positioned by a developer but not by the page render engine. There are methods which can be used to control the position of a floating box. The positioning of FloatingBox is absolute rather than relative. A code snippet depicts thRead more..
By: sherazam |  On:  05 Mar 2014 04:46:08 |  CSharp
This technical tip explains how developers can use Gmail Calendars to add, retrieve delete, move or update Appointments in their own applications using Aspose.Email. Aspose.Email provides features for working with Appointments in Google calendars. Some important tasks such as adding Appointments, Retrieving list of appointments, retrieving particular appointment, updating an appointment, moving appointment from one calendar to another and deleting appointment can be performed using Google calRead more..
By: sherazam |  On:  26 Feb 2014 03:15:28 |  JAVA
This technical tip show how developers can Convert Chart to Image using Aspose.Cells component. Charts are visually appealing and make it easy for users to see comparisons, patterns, and trends in data. For instance, rather than analyzing columns of worksheet numbers, a chart shows at a glance whether sales are falling or rising, or how actual sales compare to projected sales. People are frequently asked to present statistical and graphical information in an easy to understand and an easy to maRead more..
By: sherazam |  On:  18 Feb 2014 23:20:28 |  JAVA
This technical tip shows how developers can customize the Appearance of Pivot Table Reports inside their Android applications using Aspose.Cells for Android. Previously we have shown how to create a simple pivot table. This article further goes and discusses how to customize the appearance of a pivot table by setting its properties like Setting the AutoFormat and PivotTableStyle Types, Setting Format Options, Setting Row Column and Page Fields Format, Modify a Pivot Table Quick Style and CleariRead more..
By: sherazam |  On:  11 Feb 2014 23:41:51 |  CSharp
This technical tip shows how developers can split worksheets of an Excel workbook to a separate workbook, TIFF, PNG or any supported image format in the cloud. This example allows you to split all or specific worksheets of a workbook file and save each worksheet as a new workbook, TIFF or any supported image format using Aspose.Cells for Cloud API in your applications. You can use our REST API with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. Some of the code sampleRead more..
By: sherazam |  On:  28 Jan 2014 22:19:16 |  VB.NET
This technical tip shows how .NET developers can export Microsoft Visio diagram to XML inside their own applications using Aspose.Diagram for .NET. Aspose.Diagram for .NET lets you export diagrams to a variety of formats: image formats, HTML, SVG, SWF and XML formats: • VDX defines an XML diagram. • VTX defines an XML template. • VSX defines an XML stencil. The Diagram class' constructors read a diagram and the Save method is used to save, or export, a diagram in a different file format.Read more..
By: sherazam |  On:  21 Jan 2014 22:29:50 |  JAVA
This technical tip shows how each TIFF frame can be converted to JPEG and then these images to PDF file using Aspose.Pdf. Aspose.Pdf for Java is very well capable of dealing with TIFF images and can easily transform them into PDF format. However there are cases when a TIFF image contains frames with different resolution or page orientation and product might not work well. So in order to resolve such issues, we can first convert TIFF frames into individual JPEG images and then save these images Read more..
By: sherazam |  On:  07 Jan 2014 23:50:33 |  JAVA
This technical tip shows how developers can convert text files to a PDF file inside their Android application. We often get queries from customers who would like to convert their text files to PDF. We are often asked if we can quickly provide some code which can accomplish this task and save them the effort of going through the documentation. So for the benefit of everyone, we present here a simple example which can be used as it is to easily and efficiently convert a text file to PDF using AspoRead more..
By: sherazam |  On:  24 Dec 2013 11:13:10 |  JAVA
This technical tip explains how Java developers can Convert Documents to MHTML & Then to Outlook MSG inside Android Applications. Aspose.Words allows you to save any document to MHTML (Web Archive) format. This makes it very easy to use Aspose.Words and Aspose.Email together to generate email messages with rich content. For example, you can load a predefined DOC, OOXML or RTF document into Aspose.Words, fill it with data, save as MHTML and then convert to any mail format supported by Aspose.EmaRead more..
By: sherazam |  On:  17 Dec 2013 09:58:32 |  CSharp
This technical tip explains how to read email messages from a Microsoft SharePoint document library. To access files in a SharePoint document library, the SharePoint SDK must be installed on the system. The SDK provides the API necessary to log in and access files from the document library. The programming samples below assume that a Microsoft Outlook Message file (.msg) is already stored in the SharedDocument folder of the SharePoint Document Library. The SharePoint SDK is used to get the messaRead 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. skumaar_mca-255(Senior Member )
  19. sherazam-190(Junior Member )
  20. ninethsense-180(Junior Member )
Points System|More Members
^ Scroll to Top