>public DataSet ExecuteQuery(string Command, List<DbParameter> Parameters, CommandType Type) >{ >. >. >. >} >>
>public static bool DeleteCategory(int CategoryKey) >{ > SqlParameter pRecordKey = new SqlParameter("@CategoryKey", CategoryKey); > > List<SqlParameter> colParams = new List<SqlParameter>(); > colParams.Add(pRecordKey); > > try > { > DataSet ds = DataProcs.ExecuteQuery("as_RemoveCategory", colParams, CommandType.StoredProcedure); > } > catch (Exception e) > { > throw; > } >} > >>
>The best overloaded method match for 'Marois.Common.DataAccess.DataAccess.ExecuteQuery(string, string, >System.Collections.Generic.List<System.Data.Common.DbParameter>)' has some invalid arguments >>