January 2011
16 posts
4 tags
Jan 31st
12 notes
1 tag
Jan 29th
1 tag
Jan 29th
1 tag
Jan 28th
1 tag
Jan 28th
Jan 21st
6 tags
How to enable FancyBox in tumblr
From fancybox.net What is it? FancyBox is a tool for displaying images, html content and multi-media in a Mac-style “lightbox” that floats overtop of web page.  It was built using the jQuery library. Licensed under both MIT and GPL licenses Features Can display images, HTML elements, SWF movies, Iframes and also Ajax requests Customizable through settings and CSS Groups related...
Jan 21st
6 notes
3 tags
Jan 17th
1 tag
Jan 17th
1 tag
Jan 16th
1 tag
Jan 9th
1 note
1 tag
Jan 8th
Jan 8th
5 tags
Three Different ways to Access Data via Enterprise...
Today we are going to be talking about three different way to access data via enterprise library.  The elusive DataSet (a collection of DataTables), IDataReader/IDataRecord, and Execute[Sproc/SqlString)]Accessor.  First up is DataSet DataSet DataSets are quick and easy to pull data from Sql, set the command, execute a method and bam you have your data, all you need to do is index into the...
Jan 6th
6 tags
Two ways to retrieve the identity from an insert...
When building a database driven application eventually you will insert some value into a table.  One of the issues you might run into is that once you inserted this information you need to retrieve the identity of the newly created row.  Your first approach might be to insert the data and then query the database again to find your record. const string bookFormat = "Book Added '{0}' Id:{1}...
Jan 6th
5 tags
Using ToLookup
One of the few extension methods that I hardly ever seem to use is ToLookup, so today I decided to learn what is ToLookup. What is ToLookup? ToLookup(keySelector) is an enumerable extension method that allows you to generate a ILookup<TKey, TElement>.  Ok, so now what is an ILookup<TKey, TElement>?  ILookup is simply defined as a collection of keys and 1 or more elements for that...
Jan 5th
1 note