Browse by Tags

How to get an indexed item of an IEnumerable object (Linq)
If you have an IEnumerable<T> collection of some objects T and you need to get a particular item out of that collection, you cannot use the standard indexing that you would normally use with brackets ([index]).  If you try you will get an error...
Line-breaks and carriage returns (\r \n) are invalid in email subject
I received this exception when sending an email using System.Net.Mail.MailMessage: "The specified string is not in the form required for a subject." System.ArgumentException: The specified string is not in the form required for a subject.   ...
GDI+ Error when converting Tiff to Jpeg: Parameter is not valid
One of the web applications that I work on is Instant Church Directory , a website that helps churches create a church photo directory .  Since the main focus of the application is to create a photo directory, customers are uploading all sorts of...
nvarchar(max) parameters need the size set to -1
SQL Server 2005 supports a new data type nvarchar(max). This is one of the new max datatypes that are to replace ntext, text, and image in a future version of SQL Server (according to SQL Server Books Online) but you should start using them now. I recently...
More Posts

Search

Go

This Blog

News

Syndication