January 2011
16 posts
4 tags
1 tag
1 tag
1 tag
1 tag
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...
3 tags
1 tag
1 tag
1 tag
1 tag
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...
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}...
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...