Posts tagged 'ado-net'

Generic ExecuteScalar method

Just wanted to share with everyone the generic helper method I use for ExecuteScalar. A helper method for ExecuteScalar is the perfect candidate for generics due to the different types that could be returned. Of course, you could always return an object, but this is more fun. :) public static T ExecuteScalar<T>...

Continue reading "Generic ExecuteScalar method"

What's new in ADO.NET 3.0?

Yesterday, a video was posted to Channel 9 called What's coming in ADO.NET? Pretty awesome stuff. UPDATE: It turns out they released this video prematurely, so the link doesn't work anymore....

Continue reading "What's new in ADO.NET 3.0?"