cm.CommandText = list[i]; cm.CommandType=CommandType.StoredProcedure; //cm.Parameters["@amount"].Value = Convert.ToInt32(dr["amount"]);参数自己看着办下加个Execute,如:cm.ExecuteNonQuery();