We just wrapped up Silicon Valley Code Camp.  It was an awesome event.  This year was our second time around the block so the preparation wasn’t quite as draining as last year.  We did have a new dean (Timothy Woods) to work with at Foothill College and when we initially found that out, I was worried.  What if he doesn’t want to do this?  Well, turns out, that could not have further from the case.  Tim was a stellar partner and everything that could go right did.  The weather was perfect, lots of people chipped in for both planning as well as execution, and everything really came together.  We had over 900 registered, 75 sessions, and about 400 on Saturday attending and 250 on Sunday.

(more…)

So, I’ve been preaching for a long time that it’s best to use the Using pattern when working with anything that implements IDisposable.  That way, you don’t have to worry about calling Dispose, or calling Close.  The framework will just do it for you.  I’ve answered this question on the forums several times so I thought I’d past some code I’m doing right now for simple ado.net stuff.  It’s actually code that is inside a business object that I hook up to an ObjectDataSource in asp.net 2.0.

The code is posted below.  I think you’ll get the idea.

(more…)


© 2012 PeterKellner.net. All Rights Reserved
Follow

Get every new post delivered to your Inbox

Join other followers: