I want to use something similar like this:
using (DataSet ds = new DataSet()) { SqlParameter[] dbParams = new SqlParameter[] {
You should use List instead of array.
List dbParams = new List();
and then you can do
dbParams.Add(new SqlParameter("@PromptID", promptID);