June 2013
-
.NET – Write A File to Disk from your Database
In this example I will review and give examples in C# and VB.NET how to get and save a file stored in an Image datatype in a SQL Server table. Here is a link to a list of other articles I have written about using .NET with SQL Server.
-
Notes on Writing T-SQL LDAP Queries Using ADSI OPENQUERY
When you are working with Active Directory on your network, then it can be difficult to get a clear picture for how your particular instance of Active Directory is structured. I’ve been writing T-SQL LDAP queries using ADSI OPENQUERY and have been having fun trying to find where some of the values I’m looking for are…
-
iTextSharp – Insert an Image to a PDF in C#
This article will review the basics of programmatically inserting and positioning an image in a PDF being generated using the iTextSharp library. I’ll show you the code for doing so in both C# and VB.NET. Here are the main categories I’ll be covering, with links to the appropriate section: Adding your image programmatically while generating…