" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to INSERT, UPDATE or DELETE record in one statement

Posted on November 24th, 2015 by Monalisa Pradhan

Generally we write separate statements to INSERT, UPDATE or DELETE data based on certain conditions. But now in SQL Server 2008 there is a new feature present called MERGE statement using which we can INSERT, UPDATE or DELETE record in one statement. MERGE is a new feature which Microsoft has introduced with SQL Server 2008 […]

Merge Word Documents As Pages Of A Single Document Using VB.NET

Posted on November 23rd, 2015 by Amrita Dash

Lets say we have a word template file and we need to populate the template for “n” number of records and display a single large word document , instead of “n” separate documents. So after creating the separate documents we need to merge them and create a single document with multiple pages. Following code snippet […]

Java: Merging multiple PDFs into a single PDF using iText.

Posted on November 23rd, 2015 by Debabrata Pati

iText is a library that allows you to generate PDF files on the fly. Please find more details on iText on below link. http://www.lowagie.com/iText/ Here is a code snippet which takes multiple PDFs stream as input and merging them to a new PDF file. The snippet uses iText java library.   /**********************************************************/ import java.io.File; import […]