For one of my web project, we were asked to implement a functionality for Document upload and let the users upload and store the documents via the site. One of the requirement was to store the document in BLOB format.
How to add Images to PDF using iTextSharp
Most recently I used iTextSharp a lot for a lot of my projects. I personally like the library because of the fact it is free and open source. In this post I will try to explain how to manipulate and
How to view TCP / UDP statistics using command prompt
Recently I ran into issue with WCF services. Instead of http port, I was using tcp port to host my wcf services. One of the challange for me to find out how many calls were being made to the services.
How to Merge PDF files using iTextSharp
I ran into a situation where one of the functionality in my application was supposed to display all files associated to a selected project in modal window. The end users would be able to choose one or more associated files
How to add Fixed Header in iTextSharp Table
In order to add a fixed header to iTextSharp table on each page, below syntax can be used PdfPTable pTable = new PdfPTable(NO_OF_COLUMNS); pTable .HeaderRows = 1; Above line will freeze the first row of table in each page. Keep Smiling and
How to add a new page in iTextSharp PDF when PDFReader object is used
So, last night I ran into a situation where I was trying to add new page to iTexSharp PDF. One of the project requirement was to develop a unique single page template which displays the table in vertical tabular format.
Event Log Write Entry issue Character Limitation in Windows Server
Recently for a small project, our development team used c# EventLog object to write all exceptions to the system event log entries. We ran into an issue where the system was catching exceptions and was writing into Event Log on
How to restore your SQL server database using T-SQL
Hi there, in this post I’ll try to explain you how you can restore a database using SQL script. Before I dig deep, I want to share my experience about why use SQL script when you can do it from
How to get first, last characters in SQL
There was a situation where I had three columns in a SQL database table. MasterColumn, PrefixColumn, SuffixColum. Prefix and Suffix column were recently added. I was supposed to populate Prefix and Suffix values using data in MasterColumn, I was having loads
How to get duplicate data count from SQL Server.
I recently ran into an issue where there were some duplicate rows in one of the table in SQL database. I was wondering if there was a way to display the duplicate rows by a specific column. Luckily I found