Recent Posts
- Azure CDN Blob Storage Case Sensitive Issue
- DotNetNuke Response.End() Doesn’t End
- DataSets, TableAdapters, and Transient Retry Logic For SqlAzure
- Facebook App using DotNetNuke
- Cross Language References in ASP.NET
- AddThis.com From E-Mail
- The Programmers’ Revolt
- Using COM Objects from aSP.NET
- All I Want For Christmas
- Which Language VB or CSharp?
- Free Website Monitor
- Prevent Postback on Buttons
- Distributed VS Server Based Version Control Systems
- The Google Appliance and Forms Authentication
- Transaction Tracking Typed Datasets Using SqlTransaction
Other Post
- Extension Methods in VB.NET
- How to code LINQ
- Friday Books - Agile Software Development with Scrum
- MVC in ASP.NET? Really?!
- GridViews - Multiple Rows Per Record
- Find and report unhandled exceptions
- DotNetNuke Modules - Creating Base Modules
- Silverlight, Web Services and Datasets
- The Evolution of a Programmer
- The case against i, j, and k
Archive for October 20th, 2009
SQL SELECT CASE Instead of IIF
I’ve had to do this a couple of times and I just realized I haven’t written about it anywhere.
If you need to SELECT a field from a row that returns different content based on the content of the field, you’d think, based on previous programming experience, that your code would look something like this.
If you're new here, you may want to subscribe to the mailing list to get notifications of new post and a virtual tour of past topics. Thanks for visiting!
Cloud
.net
ajax
architecture
asp.net
authentication
book
books
csharp
css
dal
dataset
datasets
dnn
dotnetnuke
events
google
gridview
html
internationalization
iTextSharp
javascript
jQuery
json
linq
listview
microsoft
modules
ms-sql
MVC
PDF
programming
reflection
seo
Silverlight
skinning
sql
testing
tsql
tutorial
Twitter
vb.net
video
Vista
visual studio
WordPress
Archives
- April 2012
- February 2012
- January 2012
- July 2011
- May 2011
- January 2011
- December 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007