<% group # Execute Methods %>

The ExecuteScalarList method executes the query and returns a list of values of the specified column of the every row in the resultset returned by the query. Other columns are ignored.

ExecuteScalarList.cs <% ..\..\..\HowTo\Data\ExecuteScalarList.cs %> App.config <% Doc\Data\App.config %> Create.sql script