Justin Cooney
Web Development Tips and Examples
Category: C#
-
In this example I will show how to use C# in a WebForm to read out a series of pictures from a database table, resize the pictures to a standardized width, and then to save each image as a JPEG to a folder on your local file system. The code assumes that the pictures are…
-
iTextSharp lets you do some fancy things with table cells that can make your generated PDF documents look exactly the way you want them to. In this example I will expand on a previous article: iTextSharp: PdfPTable Basic Example . Specifically, I will show how to absolutely size your PDF table, how to right and center…
-
It’s considered best-practice to do browser detection based on features rather than the more error-prone detection based on the user-agent. For example, see this Microsoft browser identification best practices article for how they suggest you structure your Internet Explorer detection scripts by making user of the ASP.NET HttpBrowserCapabilities Object. If you are interested in reading…