September 2013
-
C# Example of a GridView Tied to a SQLDataSource
So what’s the simplest way to build a Web-based interface for a basic database table? In this article I’ll provide a fully working example with a minimum of code. This is a useful feature to be able to put together, especially when you are catering to power users who should be able to help maintain…
-
SQL Server Rounds FLOATS when Casting to VARCHAR
A quirk about converting between the FLOAT and the VARCHAR data types in SQL Server is the unexpected rounding that will happen. This is specific to working with the FLOAT data type, and the rounding will not happen when casting a DECIMAL or an INTEGER.
-
C# iTextSharp Stream or Save Content using XMLWorkerHelper
When working with the iTextSharp PDF generation libraries for C#, you can use the XMLWorkerHelper object to export a Web page to PDF format. However while doing so you will run into the question of how best to serve the PDF up to your users. Bottom line here is that you have two ways of…