Jake sends in some more code from the beeping server web application. Apparently, the author didn't quite grasp that you can actually SELECT more than one value at a time ...
Just imagine how ugly this would get if we needed more than two values from the database. For those unfamiliar with ADO.NET, the ExecuteScalar() simply returns the value in the first column of the first row of the returned result set.
[Advertisement]
BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!