Updated: 12/18/2008

Ad Hoc Queries in ASP.NET

Ad hoc SQL query is dynamically created when needed to return information like database search results, user profile info or more generally, any information that are related to user specific request. This tutorial explains how to build ad hoc queries safely with parameters and by constructing a string.