Archive For July 2013

How To Check If A Query Returns Data In ASP.NET Web Pages

calendar_today 03 July 2013 14:01

ASP.NET Web Pages WebMatrix Razor

If you execute a query against a database, you need to know if any data was returned. But what is the best way to test for the presence of data when using the Web Pages Database helper?