I want to generate several SQL statements based on a column list using the column names as parameters.
Edit: C#
var columns = new string
There are 2 DbCommandBuilder methods that will help you, GetParameterName and GetParameterPlaceholder. These are protected, so you'll need a little reflection to use them.
Check out my answer to the following question for an implementation (also included in the DbExtensions library):
What are your favorite extension methods for C#? (codeplex.com/extensionoverflow)